mysql-workbench and Gnome keyring daemon problem
Solution 1
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
Solution 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.
Solution 3
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-*)
Solution 4
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.
Solution 5
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
Related videos on Youtube
Kyle Sharp
Updated on September 18, 2022Comments
-
Kyle Sharp almost 2 years
I have created a 24 hour clock and I want to be able to reset it to 00:00:00 when the enter key is pressed. The clock itself functions fine but I am unable to include the reset functionality properly
static void Main(string[] args) { Clock _clock = new Clock(); ConsoleKeyInfo _key = Console.ReadKey(); while (true) { Console.WriteLine(_clock.Time); _clock.Tick(); System.Threading.Thread.Sleep(1000); if (_key.KeyChar == (char)13) { _clock.Reset(); } }
-
aybe about 5 years
-
Kyle Sharp about 5 yearsThanks. I had some problems with implementation, but I have solved it
-
-
akikara over 9 yearsno need to do as long as this. just type mysql-workbench from terminal
-
conceptdeluxe about 9 yearsThanks for linking the issue and providing the workaround - this is the cleanest approach!
-
Anil Chahal about 8 yearsThanks.. Much Cleaner way to resolve this issue. Thanks a ton. :)
-
Matiss almost 8 yearsUsing V6.3.6 error still persists
-
snorbi over 7 yearsWorks but an explanation would be nice...
-
Dimitry K about 7 yearsWow! I just realized that I always was launching workbench from dash (start menu) but not from launchbar. And now today after few years of using workbench launched it by clicking on launcher and got that problem!
-
Jamie Hutber over 6 yearsI am having this issue and its 2017
-
Kyle Sharp about 5 yearsThanks. I had some problems with implementation, but I have solved it
-
Fahim about 4 yearsThanks worked for me
-
guntbert almost 4 yearsI would be very surprised if you had encountered the very same problem from 2014.
-
Peter Chaula over 3 yearsThis is the most correct solution for snap users.
-
Peter Chaula over 3 yearsThe snap works, the issue is with permissions. Have a look at Amrit's answer