Mysqldump examples Categories: Code Tags: MySQL mysqldump examples shell Dump structure only, without data mysqldump -d -h localhost -u root -pmypassword databasename > dump_file.sql *Note: "-d" option is the only difference between this command and the typical mysqldump with all data Read more about Mysqldump examples