Maria 5.2 incorrectly reports "(using password: NO)" even when password is specified

Bug #683112 reported by Philip Stoev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Fix Released
Low
Sergei Golubchik

Bug 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.

Related branches

Changed in maria:
milestone: none → 5.2
assignee: nobody → serg (serg)
assignee: serg (serg) → nobody
assignee: nobody → Sergei (sergii)
Changed in maria:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Philip Stoev (pstoev-askmonty) wrote :

I recall this was actually fixed. A grep of the bzr history would be required to confirm.

Changed in maria:
status: Confirmed → Fix Committed
Changed in maria:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.