LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 04-25-2005, 10:53 AM   #1
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
Question Restoring MySQL backups with mysql-administrator


My setup:

1) Development MySQL server running on my local computer.
2) Production MySQL server running on ISP's computer.

Whenever I make a change to development DB, test and verify the change, I then want to upload the change to the production DB. Here's my current process:

1) Create backup file on local machine using mysql-administrator GUI tool.
2) Login to production DB using mysql-administrator
3) Drop updated tables on production DB
4) Restore backup on productioin DB, choosing only those tables that have been modified

Part 3) is what I'd like to avoid having to do manually - for some reason the "Restore Backup" function doesn't seem to work properly in that it won't update an existing table on the production DB - I HAVE to drop the table first, THEN it'll load the changed table with no problem. Just wondering if anyone had any experience using mysql-administrator in this way, or if there were a better way to keep the DBs in sync?

For the record, my development machine is a Slackware 10.1 box with the MySQL version that comes with Slack 10.1 installed, and the latest version of mysql-administrator installed (as of yesterday.) The production machine is a Windows 2000(3?) server, not sure offhand what version of MySQL is running.

Thanks in advance
 
  


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
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
mysql administrator Joe_Zhu Linux - Software 5 06-22-2005 05:55 AM
How access MySQL by MySQL Administrator? treotan Linux - Newbie 5 12-04-2004 11:17 PM
MySQL Administrator eva Linux - Software 3 08-28-2004 11:54 PM
restoring mysql databases? and mysql permissions... armegeden Linux - Software 0 03-13-2003 12:04 PM


All times are GMT -5. The time now is 06:56 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration