How can I backup a mysql database ?
Rune either of the following commands:
- /path/to/bin/mysqldump -u $mysqlusername -p$mysqlpassword $mysqldatabasename > backup.sql
- mysqldump -u user -p --opt database > backup_file
Note: There is no space after the -p . If the password was "pass" you would