[MDEV-3539] LP:683112 - Maria 5.2 incorrectly reports "(using password: NO)" even when password is specified Created: 2010-11-30  Updated: 2015-02-02  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Philip Stoev (Inactive) Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug683112.xml    

 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.



 Comments   
Comment by Philip Stoev (Inactive) [ 2011-03-09 ]

Re: Maria 5.2 incorrectly reports "(using password: NO)" even when password is specified
I recall this was actually fixed. A grep of the bzr history would be required to confirm.

Comment by Rasmus Johansson (Inactive) [ 2011-10-28 ]

Launchpad bug id: 683112

Generated at Thu Feb 08 06:49:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.