LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-15-2003, 08:24 AM   #1
shadow.blue
Member
 
Registered: Jan 2003
Distribution: gentoo (2.6.5-gentoo)
Posts: 73

Rep: Reputation: 15
interesting question about mysql database sync


Hi ,

I am currently thinking about a way of effectively syncing mysql-databases.

A short introduction:

Right now I program a web-based frontend for a mysql database, where you can
store information, update tables etc, just what you do with a php/mysql database
solution. (I am running Slackware 9.0, Apache 2.0.48, PHP 4.3.4, MySQL 4.0.1.6).

Whenever the client is connected to the network, he works on the server,
http://server/database/index.php and does everything on the remote mysql database.

But whenever he travels, he has a local copy of this web-frontend on his computer,
and works on the local mysql database (which he can copy before he travels, without
a problem to his computer)

---

Now there is an interesting question:
In the time when he is on his journey, he does not connect to the server database via
internet, but works on his own local database, adds new data, changes data etc.
The same happens at the same time on the server, where someone else adds data
and changes something.

Now when he comes back "home" he wants to sync the data of his local database with
the server database.

My question now is: How is it possible to sync data in the way I just described, when you
are working on a mysql database solution?

Simply copying the database to the server would overwrite the other database completely.

I have been thinking about this for some time, but I am still sitting here with nothing...


What to you think would be able to do this job?

Thanks in advance, I hope you can help me cause I am lost in a dead end

-shad
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Interesting C Question ar1 Programming 2 05-07-2005 10:24 AM
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 02:43 PM
One interesting question palanisaravanan Linux - Networking 2 04-21-2004 09:39 AM
MYSQL help - mysql database missing eloviyandhi Linux - Software 1 03-20-2004 09:20 PM
mysql database question! nabil Linux - General 3 01-22-2002 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration