Dumping a MySQL Database

If you are ever in need of dumping a MySQL database to a file for backup purposes this is all you need to from the Linux command line.

mysqldump -u DBUSER -p DBNAME > DBNAME.sql

Share on del.icio.us digg

Leave a Reply