Go Back   CodingForums.com > :: Server side development > MySQL

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-27-2002, 04:07 AM   PM User | #1
kestrel7
New Coder

 
Join Date: Aug 2002
Location: Cape Town, South Africa
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
kestrel7 is an unknown quantity at this point
Backing up particular relations in MySQL

Hi
I want to be able to take tables I created in one MySQL database and move it to another MySQL database (on another machine) in such a manner that the data in the tables are preserved.

Is it possible to backup particular relations in a database to a file and then to 're-install' it on another MySQL database? If so, I would really appreciate a little help with the commands to achieve this.

I don't know if it makes a difference, but the databases are likely to have different names (though the relation names will of course be the same).

(Alternatively, if I could find a way to backup just the structure of the tables and to export and import the data then I could also achieve the above situation).

As usual, any help is greatly appreciated!
kestrel7 is offline   Reply With Quote
Old 10-30-2002, 09:58 PM   PM User | #2
Spookster
Supreme Overlord


 
Spookster's Avatar
 
Join Date: May 2002
Location: Marion, IA USA
Posts: 6,220
Thanks: 4
Thanked 80 Times in 79 Posts
Spookster will become famous soon enough
Use phpMyAdmin. It has many features to do just that:

http://www.phpmyadmin.net/
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
Spookster is offline   Reply With Quote
Old 10-31-2002, 05:30 AM   PM User | #3
kestrel7
New Coder

 
Join Date: Aug 2002
Location: Cape Town, South Africa
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
kestrel7 is an unknown quantity at this point
Thumbs up

Thanks a million Spookster. Exactly what I needed!!!
kestrel7 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:01 AM.


Advertisement
Log in to turn off these ads.