Link to home
Start Free TrialLog in
Avatar of andieje
andieje

asked on

Synchronise 2 databases on remote computers not a network

Hello

I have 2 computers that I work on. I need to keep these computers in synch. I use mysql database version 5.0. What is the easiest way to keep these 2 databases in sync. what files would i need to copy from one machine to another? Is there something else i could do?

thanks
Avatar of mattaob
mattaob
Flag of United Kingdom of Great Britain and Northern Ireland image

are you planning on writing to both servers?

If you are you could set up master - master replication - that way you wouldn't have to worry about copying files anywhere mysql would handle it all.

http://www.howtoforge.com/mysql_master_master_replication
alternatively if you're only writing to one of them you could use master - slave replication

http://members.cox.net/midian/howto/mysqlReplication.htm
Avatar of andieje
andieje

ASKER

hi, i dont thinki i worded my question very well. Neither of the machines are servers, they are both simply development machines that i work on. I work on one machine in the day and one machine at night. Any changes i make to one database in the day i would like to propagate to the machine i use in the evening. The computers are not connected via a network in any way so i dont think i can use replication as shown in the links upi recommend.
thanks
ASKER CERTIFIED SOLUTION
Avatar of mattaob
mattaob
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial