Bug #51865 Passwords are not stored in the keychain so connection will fail
Submitted: 9 Mar 2010 11:55 Modified: 9 Mar 2010 16:16
Reporter: vincent valvona Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:5.2.16 OS:MacOS (10.5.8)
Assigned to: CPU Architecture:Any
Tags: Connection, password, workbench

[9 Mar 2010 11:55] vincent valvona
Description:
The password mechanism on wb 5.2.1.6 on OS X does not store the passwords

The 'Store in keychain ...' button creates a correct keychain entry but without a stored password.
The 'Test Connection' button will not allow you to manually enter a password without the 'Save password in keychain' box ticked and will fail to store the password as well, so the problem must lie in the common routine used by both.

Workaround
Use the 'Store in keychain ...' button to create an entry in the keychain.
Edit the keychain entry to add the password

How to repeat:
As described above
[9 Mar 2010 12:47] Valeriy Kravchuk
Are you connecting to the server running on a localhost? We have bug #51673 about this case.
[9 Mar 2010 13:08] vincent valvona
It looks like the same bug but the result is the same whether you are connecting to localhost or any other ip address. My search for similar workbench bugs did not reveal any other reports (perhaps my search was too specific).

The workaround is simple though.
[9 Mar 2010 16:16] Valeriy Kravchuk
Let's consider this a duplicate of bug #51673. In any case they should be fixed together.