Bug #53355 Unable to connect to MySQL server
Submitted: 2 May 2010 11:08 Modified: 11 May 2010 9:42
Reporter: Mich?le Garoche Email Updates:
Status: Closed Impact on me:
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.20 beta revision 5783 OS:MacOS
Assigned to: Alfredo Kojima CPU Architecture:Any

[2 May 2010 11:08] Mich?le Garoche
System/Machine: Mac OS X 10.5.8 Intel Core 2 Duo
MySQL: mysql-5.1.46-osx10.5-x86_64

The password for connection, though saved in keychain, is not accessible by MySQL Workbench.
You may consider it as a duplicate of bug 51673, but as it was closed and I cannot reopen it, here it is again.

A workaround may be to lock login in Keychain Access just before entering the password. It works sometimes, not always. If it does not work, then re-entering it and pressing tab (as suggested in bug 51673) makes it recognized.

But this is not a solution, is not it? It should work right out of the box, if I dare say so.

How to repeat:
Click on New Connection.
Enter a new connection name.
Choose Local Socket/Pipe as Connection method.
Click on Store in Keychain.
Enter the MySQL password for root user.
Click on OK.
Click on Test Connection.
[5 May 2010 15:47] Valeriy Kravchuk
Verified just as described on Mac OS X 10.5.x.
[5 May 2010 18:23] Alfredo Kojima
[10 May 2010 22:21] Johannes Taxacher
fix confirmed in repository
[11 May 2010 9:42] Tony Bedford
An entry has been added to the 5.2.21 changelog:

If a socket/pipe connection method was used, and the password stored in the keychain, MySQL Workbench could not connect to the server.