Bug #52826 Connection manager should not ask for a password for a connection if none is set
Submitted: 14 Apr 2010 14:42 Modified: 1 Sep 2010 12:43
Reporter: Mike Lischke Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.18 OS:Any
Assigned to: Alfredo Kojima CPU Architecture:Any

[14 Apr 2010 14:42] Mike Lischke
Description:
When connecting to a MySQL server either in WQE or in WBA with an account that has no password set the user is still asked for a password, even though a simple click on OK will do it. That is highly annoying if you have to reconnect often (though not for the regular folks).

How to repeat:
Have an account without password and try to connect to it.

Suggested fix:
The general workflow should be:

1) Try to open the connection with the credentials the manager has currently.
2) If that fails, ask for password.
3) If that again fails, stop connection attempt.

For point 1 it means the connection manager asks the pw manager for a password (if there is no key file, or if there is one but encrypted). The manager can return an empty PW, which is perfectly fine if I did not set one. Otherwise I'm asked anyway.
[21 May 2010 10:41] Susanne Ebrecht
Many thanks for a reasonable feature request.
[11 Jul 2010 14:20] Alfredo Kojima
fixed
[20 Aug 2010 10:01] Johannes Taxacher
this has been fixed in 5.2.26
[1 Sep 2010 12:43] Tony Bedford
An entry has been added to the 5.2.26 changelog:

When connecting to a server, MySQL Workbench prompted for a password, even if one had not been set for that account.