Bug #23285 default shows where it shouldn't
Submitted: 13 Oct 2006 22:02 Modified: 20 Oct 2009 1:39
Reporter: Peter Lavin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:0.7.2r OS:Linux (Linux FC4)
Assigned to: BitRock Merlin CPU Architecture:Any
Tags: password default

[13 Oct 2006 22:02] Peter Lavin
Description:
Deliberately mismatch the passwords for the MySQL server and when asked to re-enter a default value shows. See below:

Enter the password the agent will use to login to the MySQL server it will monitor.

Password for fred on 127.0.0.1:3306 :

Re-enter :

Warning: Passwords Do Not Match!

Press [Enter] to continue : 
----------------------------------------------------------------------------

Enter the password the agent will use to login to the MySQL server it will monitor.

Password for fred on 127.0.0.1:3306 [********] :

Re-enter [********] :

----------------------------------------------------------------------------

The same happens with the password the agent will use to login to the MySQL Network Service Manager.

How to repeat:
Run agent and deliberately mismatch passwords.

Suggested fix:
Don't show a default password.
[30 Oct 2006 20:15] Keith Russell
Default passwords no longer appear in ver => 7.15
[13 Nov 2006 23:08] Punita Srivastava
This is still a problem in 7.35. Setting status  back to 'verified' and reassigning to Keith.
--The non empty pwd is not accepted-- this is correct behav
-- If the pwd is mismatched then it is not accepted- this is correct behav
-- the third time  I get a default pwd-- this is incorrect behav- 
-- It is probably taking one pwd from the mismatched pair and the user does not know which one.
We should either keep prompting for a valid pwd until we get it right or have a default one from the start.
-------------
Agent username on 127.0.0.1:8080 [agent]:

----------------------------------------------------------------------------
Enter the password the agent will use to login to the MySQL Network Service Mana
ger.

Agent password for agent on 127.0.0.1:8080 :
Re-enter :
Warning: You need to provide a non-empty password
Press [Enter] to continue :
----------------------------------------------------------------------------
Enter the password the agent will use to login to the MySQL Network Service Mana
ger.

Agent password for agent on 127.0.0.1:8080 :
Re-enter :
Warning: Passwords Do Not Match!
Press [Enter] to continue :
----------------------------------------------------------------------------
Enter the password the agent will use to login to the MySQL Network Service Mana
ger.

Agent password for agent on 127.0.0.1:8080 [********] :