Back up a database
mysqldump -u [username] –p[password] [database_name] > [dump_file.sql]
Restore a database
mysql -u [username] –p[password] [database_name] < [dump_file.sql]
Back up a database
mysqldump -u [username] –p[password] [database_name] > [dump_file.sql]
Restore a database
mysql -u [username] –p[password] [database_name] < [dump_file.sql]