Bug #25791 Ambiguous "Enter password" message while logging into client
Submitted: 23 Jan 2007 16:21 Modified: 23 Jan 2007 16:37
Reporter: Franco A. Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S4 (Feature request)
Version: OS:Linux (Linux)
Assigned to: CPU Architecture:Any

[23 Jan 2007 16:21] Franco A.
Description:
This is not a serious bug.
Using systems with sudo enabled (ie. ubuntu) it may happen that more than one password is required in sequence, the system user password and then the mysql user password.
It happens often to me that I don't know exactly which password is required, because I can or not be in sudo's 'grace period'.

How to repeat:
At command line:
>sudo /usr/local/mysql/bin/mysql -u root -p
>Password:                      <- this is user password
>Enter password:                <- this is MySqlpassword
...

Suggested fix:
Change the message "Enter password:" to "Enter MySql user password:" or anything similar that contains a reference to mysql. 
This could be done even on system user request (but it's for another bug tracker :-))
[23 Jan 2007 16:37] MySQL Verification Team
Thank you for the bug feature request.