PDA

View Full Version : Failed password escaping



gharris
September 14th, 2015, 10:11 AM
Tried to follow:

http :// forums.zmanda. com/ bugzilla

from page:

http :// w's .zmanda .com /backup-mysql.html

in order to search/post a bug, but that link fails.

Anyways, using:
MySQL-zrm.noarch 3.0-6.el7 @epel

On CentOS Linux release 7.1.1503

When I have a MySQL backup user with a password including any of the characters (there may be others): #$*
I can successfully log in from the command line and phpMyAdmin, however, running:

mysql-zrm-scheduler --now

fails with a bad login message. Changing only the password to replace the above characters with accepted characters, everything works as expected.

Could someone file a bug in the appropriate location? You can even take credit for it, I don't really care, as long as it gets filed.

Thanks.

(Sorry about the URL's. Apparently, I'm not "old enough" yet. Reasonable, but painful.)

gharris
September 14th, 2015, 10:27 AM
Just for the Google bits, here's the relevant log response:

BackupSet1:backup:ERROR: Output of command: 'mysqladmin --user="username" --password="*****" variables' is {
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'username'@'localhost' (using password: YES)'
}
BackupSet1:backup:ERROR: Cannot connect to mysql server!