Q:

mysql-workbench and Gnome keyring daemon problem

when launching mysql-workbench I have the following warning:
[12:13:49] coil@coil:~$ sudo mysql-workbench &
[12:14:03] coil@coil:~$ ** Message: Gnome keyring daemon seems to not be available. Stored passwords will be lost once quit
[12:14:05] coil@coil:~$ Ready

Is there a way to fix this issue? Indeed, my passwords never get saved.

A:

The bug has been fixed in MySQL Workbench 6.2.5 / 6.3.0 releases. http://bugs.mysql.com/bug.php?id=74771
A possible workaround was to add this code to the top of file /usr/bin/mysql-workbench
export GNOME_KEYRING_CONTROL=1

This fix work on my ubuntu 14.04 with MySQL Workbench community 6.2.4 from deb http://repo.mysql.com/apt/ubuntu/ trusty workbench-6.2

A:

There's a neat way I found, try this out.
Step 1: After installation unlock the workbench icon from launcher.
Step 2: press the super(window) button on your machine and search for workbench.
Step 3: Open workbench from the search results.
Step 4: Once open, lock the workbench icon to the launcher.
Voila !!! The keyring problem disappears.

A:

This answer is a variation on the guest1000's solution, but I don't have enough rep to create a comment.
Anyway, adding the following to ~/.bashrc also works and seems cleaner to me:
export GNOME_KEYRING_CONTROL=$(ls -d /run/user/1000/keyring-*)

