You have to quote the password, like this: mysql -u root -p'PASSWORD' You must do this if the password has any of the following characters: * ? [ < > & ; ! | $ Source: http://superuser.com/a/123953
The post Escaping a password using mysqldump console appeared first on PHP MySQL Talk.