Mysqldump example

Posted on September 2nd, 2008 by Jeff

For some odd reason, I always forget the stupid syntax for mysqldump. There are a bunch of options that you can use with this program, but if you just want to grab a simple dump of your database, use this command:

shell> mysqldump -u[user] -p[password] [databasename] > dumpfile.sql

Write a new comment


Comment: