Page 1 of 1

Backup problem when mysql password has special character

PostPosted: 09. October 2005 21:19
by frperalta1
I have a special character in my mysql password and whenever I attempt a backup I get the following message:

Can't access database. Is MYSQL running? Added the MySQL root password to end of command line?

Is there anyway around this problem without having to change the password as it would affect many applications on my system.


Thank you,

ps: the command I user is /opt/lampp/lampp backup passwd_with_special_character

PostPosted: 10. October 2005 12:19
by Oswald
Dear frperalta1!

Depending on the kind of special character you could place your password into ' chars. For example:

/opt/lampp/lampp backup 'passwd_with_special_character'

Good luck
Oswald

PostPosted: 01. November 2005 18:25
by frperalta1
Worked great! Thank you.