Just Host Limited

Just Host Help Center

 
 

If you can't find what you're looking for,
please click here to submit a support ticket.

Submit Support Ticket

If you can't remember your cPanel or Billing Logins,
Please click here to have them resent .

Forgotten Your Password?
 

Article Details

Last Updated
24th o June, 2008


Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions ( )

How would you rate this answer?



Thank you for rating this answer.

questionI would like to dump the Table Structure for my MySQL Database, but none of the data.

The command line option from SSH is: mysql -d -p database_name > file.sql. Where 'database_name' is the name of your database, and 'file.sql' is the name of the file you would like to write the table structure to. You will be prompted you for a password (-p). Normally mysqldump gives you the entire database, with the '-d' option, you need to tell it to not include the data, just the table structure.


Continue