Bug #76981 unable to connect without gnome-keyring
Submitted: 8 May 2015 9:37 Modified: 16 May 2015 1:24
Reporter: Dmitry Smirnov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:6.3.3 OS:Linux (Debian "Jessie")
Assigned to: CPU Architecture:Any

[8 May 2015 9:37] Dmitry Smirnov
Description:
As reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784729
MySQL Workbench v6.3.3 is unable to connect to servers unless "gnome-keyring" is installed.

How to repeat:
Make sure "gnome-keyring" is not installed; try to connect to any saved connection. The following error appears:

    Cannot Connect to Database Server
    Your connection attempt failed for user 'root' from your host to server at 127.0.0.1:3306:
  Error communicating with gnome-keyring-daemon

Suggested fix:
It would be preferable to avoid hard dependency on "gnome-keyring" because it should not be necessary to connect and because it may not be present on non-GNOME Desktop Environments.
[11 May 2015 7:33] MySQL Verification Team
Hello Dmitry Smirnov,

Thank you for the report.
Observed this with WB 6.3.3 source build on Debian8.

Thanks,
Umesh
[12 May 2015 10:36] Marcin Szalowicz
Thank you for the bug report, 
It seems there's some problem with keyring detection, to fix this you can use a workaround by setting up an environment variable WB_NO_GNOME_KEYRING. It's mentioned in the head of the mysql-workbench script.
[12 May 2015 11:59] Dmitry Smirnov
Using WB_NO_GNOME_KEYRING is hardly a fix but rather ugly workaround not taking into account whether gnome-keyring is present or not, running or not etc...
[16 May 2015 1:24] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL Workbench 6.3.4 release, and here's the changelog entry:

On Linux, MySQL Workbench would not connect to a MySQL server unless
gnome-keyring was installed, even if gnome-keyring was not used by the
user. A workaround was to set WB_NO_GNOME_KEYRING to true.

Thank you for the bug report.