Synchronise 2 databases on remote computers not a network

Posted on 2008-10-22
Last Modified: 2013-11-05

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?

Question by:andieje
  • 3

Expert Comment

ID: 22774899
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.

Expert Comment

ID: 22774904
alternatively if you're only writing to one of them you could use master - slave replication

Author Comment

ID: 22781507
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.

Accepted Solution

mattaob earned 500 total points
ID: 22784850
in that case use mysqldump to dump the database and then restore it

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now