Bug #72729 Workbench 6.1.6 doesn't recognize mysql-client 5.6 from native and APT repo
Submitted: 23 May 2014 9:37 Modified: 3 Jun 2014 15:20
Reporter: Shahriyar Rzayev Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.1.6 OS:Linux (Ubuntu 14.04)
Assigned to: CPU Architecture:Any

[23 May 2014 9:37] Shahriyar Rzayev
Description:
Dear experts,
As you now from Ubuntu 14.04 there is a 5.6 version packages in native repo that we can install..
Tried to install MySQL Workbench after installing 5.6 client library but it does not recognize or does not work with it:

sh@sh-work:~/Downloads$ sudo apt-get install mysql-client-5.6

sh@sh-work:~/Downloads$ sudo dpkg -l | grep mysql-client
ii  mysql-client-5.6                                      5.6.17-0ubuntu0.14.04.1                             amd64        MySQL database client binaries
ii  mysql-client-core-5.6                                 5.6.17-0ubuntu0.14.04.1                             amd64        MySQL database core client binaries

And when try to install workbench:

sh@sh-work:~/Downloads$ sudo dpkg -i mysql-workbench-community-6.1.6-1ubu1310-amd64.deb
Selecting previously unselected package mysql-workbench-community.
(Reading database ... 210356 files and directories currently installed.)
Preparing to unpack mysql-workbench-community-6.1.6-1ubu1310-amd64.deb ...
Unpacking mysql-workbench-community (6.1.6-1ubu1310) ...
dpkg: dependency problems prevent configuration of mysql-workbench-community:
 mysql-workbench-community depends on mysql-client; however:
  Package mysql-client is not installed.

dpkg: error processing package mysql-workbench-community (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
 mysql-workbench-community

Problem exists also with mysql-client package from official APT repo:

h@sh-work:~/Downloads$ dpkg -l | grep mysqlii  libmysqlclient18:amd64                                5.6.17-1ubuntu14.04                                 amd64        MySQL shared client libraries
ii  mysql-apt-config                                      0.1.5-1ubuntu14.04                                  all          Auto Config Pkg for MySQL APT Repo.
ii  mysql-common                                          5.6.17-1ubuntu14.04                                 amd64        MySQL Common
ii  mysql-community-client                                5.6.17-1ubuntu14.04                                 amd64        MySQL Client
ii  mysql-community-server                                5.6.17-1ubuntu14.04                                 amd64        MySQL Server
ii  mysql-server                                          5.6.17-1ubuntu14.04                                 amd64        MySQL Server meta package depending on latest version
ii  mysql-utilities                                       1.3.5-2                                             all          collection of scripts for managing MySQL servers
ii  python-mysql.connector                                1.1.6-1                                             all          pure Python implementation of MySQL Client/Server protocol

sh@sh-work:~/Downloads$ sudo dpkg -i mysql-workbench-community-6.1.6-1ubu1310-amd64.deb
Selecting previously unselected package mysql-workbench-community.
(Reading database ... 210319 files and directories currently installed.)
Preparing to unpack mysql-workbench-community-6.1.6-1ubu1310-amd64.deb ...
Unpacking mysql-workbench-community (6.1.6-1ubu1310) ...
dpkg: dependency problems prevent configuration of mysql-workbench-community:
 mysql-workbench-community depends on mysql-client; however:
  Package mysql-client is not installed.

dpkg: error processing package mysql-workbench-community (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
 mysql-workbench-community

But it works when running from terminal:

sh@sh-work:~/Downloads$ mysql-workbench
Ready.

How to repeat:
Try to install Latest MySQL workbench on Ubuntu 14.04 after installing mysql-client version 5.6 from native or APT repo.

Suggested fix:
No idea.
[26 May 2014 21:55] MySQL Verification Team
Thank you for the bug report.
[29 May 2014 20:53] Alfredo Kojima
Posted by developer:
 
Changed dependency to allow any of mysql-client, mysql-client-5.6 or mysql-community-client
[3 Jun 2014 15:20] Philip Olson
Fixed as of the upcoming MySQL Workbench 6.1.7 release, and here's the changelog entry:

On Ubuntu 14, the dependency check was updated to allow any of
mysql-client, mysql-client-5.6 or mysql-community-client client libraries.
Previously, the dependency check could fail.

Thank you for the bug report.