Jump to content

Synchronizing Online MySQL and Local MySQL db


Molson31

Recommended Posts

I've got a new project which involves using a local MySQL database, something I've never had to do. What I need to accomplish is having a very typical online MySQL database that can communicate with another MySQL database on a local machine.

 

This is what the flow chart would look like.

 

Local PC <--> Local MySQL DB <--> Internet <--> Online MySQL DB <--> Website

 

The local PC will only occasionally be online, to POST and GET new information to and from the Online MySQL DB.

 

My questions are:

Does the Local DB need a third-party application to POST and GET from the online DB?

Does the Local PC have to be a server? Ie does MySQL need to be a service?

I have learned about master-master replication but someone told me the Local PC would always have to be online, which I disagree; it could just poll occasionally. But I need to understand how a Local MySQL DB works; how can it connect to one on the web?

 

Thanks and I hope this makes sense.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.