Bug #92183 Workbench does not run without Gnome Keyring
Submitted: 24 Aug 2018 20:28 Modified: 24 Aug 2018 21:36
Reporter: Stephen McCants Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:8.0.12 OS:Linux (KUbuntu 18.04)
Assigned to: CPU Architecture:x86
Tags: kde gnome-keyring regression

[24 Aug 2018 20:28] Stephen McCants
Description:
MySQL Workbench will not connect to MySQL databases without gnome-keyring.  This breaks it in any non-Gnome environment.

When attempting to connect to a MySQL database, I get the error:

Your connection attempt failed for user 'root' from your host to server at localhost:NULL:

 The name org.freedesktop.secrets was not provided by any .service files.

Workaround to add:
export WB_NO_GNOME_KEYRING=1

or uncomment:
WB_NO_GNOME_KEYRING=1

to /usr/bin/mysql-workbench does not work.

This is a regression of:
https://bugs.mysql.com/bug.php?id=52866
https://bugs.mysql.com/bug.php?id=61170
https://bugs.mysql.com/bug.php?id=74771

And likely more.

How to repeat:
Install Workbench on any Linux system without Gnome or at least without gnome-keyring.

Try to run it and connect to a database.

Suggested fix:
Don't depend on gnome-keyring.  It is nothing but trouble in my experience (hangs, hangs applications, doesn't work as expected).

Instead, handle the situation where gnome-keyring is not installed by either using a different keyring or by not saving passwords.

Provide a test case to prevent future regressions.
[24 Aug 2018 21:36] MySQL Verification Team
Thank you for the bug report. Duplicate of https://bugs.mysql.com/bug.php?id=91836.