Sunday, February 28, 2010

Deleted libmysqlclient15 or package missing

This is something really wierd I did few days back. 

libmysqlclient15 is no more available in the repositories as it has been replaced by the latest version 16. 
But mysql admin still needs the old version to run. So we must have old version to run the mysql from terminal

Dont panic just reinstall the package libmysqlclient15off. You can do it from the synaptics package manager or just type
sudo apt-get install libmysqlclient15off --reinstall.

This package is also important as amarok, mysql workbench and few other important packages are dependent on it. Though all of them can use the newer version but mysql server can not be run without libmysqlclient 15..... This is bad and I hope will soon be solved.

Note: Dont even think of uninstalling and then installing again..... It will wipe out many packages which depend on libmysqlclient

Configuring MySQL Workbench (GUI tool)

Well very recently I had  a real bad time configuring MySQL workbench on my system.
Whenever I try to connect to the database using the "Connection Manager", it displays the error "libmysqlclient_r.so" not found".

This happens to be a known bug in the workbench. Just dont linger around.... Simply create a soft link to the already existing libmysqlclient_r.so.16.0.0  or may be u have another version 15.0.0.

Just type:
 sudo ln -sf /usr/lib/libmysqlclient_r.so.16.0.0 /usr/lib/libmysqlclient_r.so


or if u have libmysqlclient 15.0.0 then 
sudo ln -sf /usr/lib/libmysqlclient_r.so.15.0.0 /usr/lib/libmysqlclient_r.so


The worbench will work like  a charm.