Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
Maria 5.2 incorrectly reports "(using password: NO)" on unsuccessfull connection attempts, even if password was specified. Maria 5.1 and mysql 5.1 are not affected.
To repeat:
cd mysql-test
MTR_VERSION=1 perl mysql-test-run.pl --start-and-exit 1st
mysql -ufoo --protocol=tcp --port=9306 -pbar
ERROR 1045 (28000): Access denied for user 'foo'@'localhost' (using password: NO)
The message comes from the server. The issue is also reproducible without the mysql client by using a connector.
Such a regression would cause issues for people trying to debug authentication failures. It also causes various PHP connector tests to fail.