Bug 16927 - MySQL Workbench doesn't work with gnome-keyring
Summary: MySQL Workbench doesn't work with gnome-keyring
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Juan Luis Baptiste
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-09 15:51 CEST by Davy Defaud
Modified: 2017-02-10 13:08 CET (History)
0 users

See Also:
Source RPM: mysql-workbench-6.2.4-1.mga5.src.rpm
CVE:
Status comment:


Attachments
/usr/sbin/mysql-workbench (470 bytes, text/plain)
2015-10-19 11:58 CEST, Davy Defaud
Details

Description Davy Defaud 2015-10-09 15:51:37 CEST
Description of problem:
Each and every time a connection is initiated to a MySQL server, MySQL Workbench proposes to save the password into GNOME keyring by checking a check box. But the different passwords don't seem to be saved at all.

Solution:
The quick fix is to set GNOME_KEYRING_CONTROL=1 as an environment variable.
So, I suggest to add GNOME_KEYRING_CONTROL to the list of 7 environment variables that are set in the small mysql-workbench start script.

The new content of /usr/bin/mysql-workbench would be:

#!/bin/bash
export LD_LIBRARY_PATH="/usr/lib64/mysql-workbench:$LD_LIBRARY_PATH"
export MWB_DATA_DIR="/usr/share/mysql-workbench"
export MWB_LIBRARY_DIR="/usr/share/mysql-workbench/libraries"
export MWB_MODULE_DIR="/usr/lib64/mysql-workbench/modules"
export MWB_PLUGIN_DIR="/usr/lib64/mysql-workbench/plugins"
export DBC_DRIVER_PATH="/usr/lib64/mysql-workbench"
export MWB_BINARIES_DIR="/usr/bin"
export GNOME_KEYRING_CONTROL=1
/usr/bin/mysql-workbench-bin $*




Reproducible: 

Steps to Reproduce:
Comment 1 Samuel Verschelde 2015-10-12 10:06:41 CEST
Assigning to maintainer.

Assignee: bugsquad => juan.baptiste

Comment 2 Davy Defaud 2015-10-19 11:58:11 CEST
Created attachment 7140 [details]
/usr/sbin/mysql-workbench

New version of the mysql-workbench start script with GNOME_KEYRING_CONTROL=1
Comment 3 Davy Defaud 2015-10-19 12:00:43 CEST
Sorry, I meant /usr/bin/mysql-workbench not /usr/sbin.
Comment 4 Davy Defaud 2017-02-10 13:08:22 CET
Fixed in 6.3.6-1.mga6

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.