Backing up All MySQL Databases using mysqldump

02 Dec 2007
Posted by editor

Backing-up your sql databases can be done effectively with the mysqldump facility. You will need to login as the MySQL server root administrator. The following command will backup ALL your databases.

mysqldump -u myusername -pmypassword -A > backup.sql

To dump a single database

mysqldump -u myusername -pmypassword databasename > backup.sql

Trackback URL for this post:

http://www.zygmund.net/trackback/15

Tags: