Knowledgebase & Downloads
The knowledgebase provides documentation written by our team. Please select a category or search for answers.
I 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.
- © 2016 JVMHost.com All rights are reserved.