mysql-workbench and Gnome keyring daemon problem
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
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.
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-*)
Add this code to the top of file /usr/bin/mysql-workbench
if ls /run/user/`id -u`/keyring-* 1> /dev/null 2>&1; then gnome-keyring-daemon > /dev/null fi export GNOME_KEYRING_CONTROL=$(ls -d /run/user/`id -u`/keyring-* | head -n 1)
It's not clean solution, but it works. No need of running workbench from terminal.
I did as follows i am using Workbench 6.3
sudo gedit /usr/bin/mysql-workbench
Just remove the comment
@line 5
WB_NO_GNOME_KEYRING=1