Bug 16927

Summary: MySQL Workbench doesn't work with gnome-keyring
Product: Mageia Reporter: Davy Defaud <davy.defaud>
Component: RPM PackagesAssignee: Juan Luis Baptiste <juan.baptiste>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: 5   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: mysql-workbench-6.2.4-1.mga5.src.rpm CVE:
Status comment:
Attachments: /usr/sbin/mysql-workbench

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