init script test db with wrong credential
Bug #1439673 reported by
emilio brambilla
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Confirmed
|
Undecided
|
Raghavendra D Prabhu | |||
5.6 |
Fix Released
|
Undecided
|
Raghavendra D Prabhu |
Bug Description
on percona-
mysql -u root -pabcd -e 'select 1;' 2>&1 | grep 'ERROR 2002'
I know it is not necessary to have a working account to check for "ERROR 2002" (cannot connect), but this abcd password is very dirty and logs a warning on mysql logs: "Access denied for user 'root'@'localhost' (using password: YES)"
To post a comment you must log in.
Yes, it can be replaced with mysqladmin ping (which should work even with wrong creds).