Bug #46428 wrong library location for mysql-workbench
Submitted: 28 Jul 2009 13:22 Modified: 25 Nov 2009 13:48
Reporter: philip antoniades Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.2 OS:Linux (Fedora 11 amd64)
Assigned to: Alfredo Kojima CPU Architecture:Any

[28 Jul 2009 13:22] philip antoniades
Description:
With the F10 RPM installation, opening a database connection gives the following error:

Cannot Connect to Database Server
Connection 'antonia' could not be established: Database driver: Failed to open library '/usr/lib/mysql-workbench/mysqlcppconn.so'. Check settings.

The mysql-workbench libs are put in /usr/lib64/, not /usr/lib/ (could be a change from f10-f11).

How to repeat:
Double-click on a "Connection" object on the Home tab on the GUI

Suggested fix:
Following workaround fixed after restart: 

sudo ln -s /usr/lib64/mysql-workbench /usr/lib/mysql-workbench
[24 Nov 2009 19:35] Alfredo Kojima
This has already been fixed in a previous release.
[25 Nov 2009 11:35] Johannes Taxacher
this has been fixed for 5.2.8
[25 Nov 2009 13:48] Tony Bedford
An entry was added to the 5.2.8 changelog:

When using the Fedora 10 RPM installation packages on Fedora 11, opening a database connection gave the following error:

Cannot Connect to Database Server
Connection 'antonia' could not be established: Database driver: Failed to open library
'/usr/lib/mysql-workbench/mysqlcppconn.so'. Check settings.

The MySQL Workbench libraries were installed in /usr/lib64/, not /usr/lib/.