Title: Accessing external existing databases
Last modified: August 22, 2016

---

# Accessing external existing databases

 *  [sharker](https://wordpress.org/support/users/sharker/)
 * (@sharker)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/accessing-external-existing-databases-1/)
 * Hi, I read the post at: [https://wordpress.org/support/topic/accessing-external-existing-databases?replies=11](https://wordpress.org/support/topic/accessing-external-existing-databases?replies=11)
   
   that explain perfectly my problem: I am trying to create a site for a friend 
   that need a connection with an external database for: create an .xml file and
   download it, to create/rewrite the local database with list of products, images
   of products, prices and…. The database that I have to connect with, is the database
   of the distributor that send to me 4 PHP files, that are for the creation in 
   his computer, of the file that I need with my prices, and for the download of
   it. But I don’t understand how or where I have to use them… In your post(see 
   above) **Jacobs Coen** said: _2) Keep your WooCommerce products and the products
   from your external database in sync, for example hourly via a cron. Or make a
   trigger/sync script for when something changes in the external database, so it
   updates the WooCommerce products._
 * That is exactly what I need…
 * To summarize I have:
    – basic WordPress 4.0 install with woocommerce installed
   on a local database – I have an external database with products/categories/productinfo–
   I have 4 PHP files with the code to access the database, create and download 
   the file I need What I want: – I want to connect with the external database and
   download the file – To show the categories/products i have in the external database
   to show up in my woocommerce site. – To sync hourly to update
 * Can you help me?

Viewing 1 replies (of 1 total)

 *  [trouille2](https://wordpress.org/support/users/trouille2/)
 * (@trouille2)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/accessing-external-existing-databases-1/#post-5438911)
 * sharker, did you solve your problem? I need exactly the same functionality to
   my woocommerce.

Viewing 1 replies (of 1 total)

The topic ‘Accessing external existing databases’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [external](https://wordpress.org/support/topic-tag/external/)

 * 1 reply
 * 2 participants
 * Last reply from: [trouille2](https://wordpress.org/support/users/trouille2/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/accessing-external-existing-databases-1/#post-5438911)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
