MySQL Forums
Forum List  »  Newbie

copying DB table definitions
Posted by: jayd_fez1701
Date: November 17, 2005 07:44PM

I've been working on a MySql database project, and I will soon need to move to a different development machine. What is the best way to get all my tables set up identically on the new computer?

I'm hoping there is some way to get MySql to generate (for an existing table) the code that would create that table if it were not already present.

Right now the best solution I've found is going into MySql Query Browser and running a DESCRIBE command for each table. I can then right-click the resultset and export it to an html file. From each table's desription, I could easily re-create the tables on another machine. The only problem with this is that it's tedious.

Options: ReplyQuote


Subject
Written By
Posted
copying DB table definitions
November 17, 2005 07:44PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.