Backup problem when mysql password has special character

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Backup problem when mysql password has special character

Postby frperalta1 » 09. October 2005 21:19

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
frperalta1
 
Posts: 4
Joined: 22. July 2005 15:20

Postby Oswald » 10. October 2005 12:19

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
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
Operating System: Linux

Postby frperalta1 » 01. November 2005 18:25

Worked great! Thank you.
frperalta1
 
Posts: 4
Joined: 22. July 2005 15:20


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 122 guests