I’ve been requested to export out a MySQL DB via the command line. The requester specifically said not to use phpMyAdmin. I tried following these steps: http://wiki.dreamhost.com/Backup_MySQL#Getting_a_Backup_From_the_Shell but it throws an error. It seems to think my password is a command.
[server]$ mysqldump -uusername -p^password -h mysql.domain.com dbname > dbnameDB.sql
-bash: password: event not found
Any ideas? Thanks in advance.