If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Sync remote database to local server

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-09-11, 15:05
Jermin Jermin is offline
Registered User
 
Join Date: Mar 2011
Posts: 1
Question Sync remote database to local server

I have a script that will query remote database at times. But the connection speed from my local server to the remote one is too slow. I'd like to know whether there is some kind of script which can download data from a remote database and update them to local one regularly. If so, the query response will be much faster.

I've read about master-slave setup. But there isn't an option to edit my.cnf in cPanel. So is it possible to use a script to automatically back up database to local server and update them in local database?
Reply With Quote
  #2 (permalink)  
Old 03-09-11, 17:37
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 623
Try MySQL replication. This allows one database to be replicated to one or more database servers. Updates to the remote database can be synchronous or asynchronous. Asynchronous is particularly useful if the network connection or remote server goes down. The transactions are queued up and played to the database when the connection or server resumes.
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On