Error during connection to database: Can not load default MySQL library ("libmysqlclient.so.16" or "libmysqlclient.so"). Check y

6 posts / 0 new
Last post
WO3S
Error during connection to database: Can not load default MySQL library ("libmysqlclient.so.16" or "libmysqlclient.so"). Check y

Error during connection to database: Can not load default MySQL library ("libmysqlclient.so.16" or "libmysqlclient.so"). Check your installation.

ok2cqr
ok2cqr's picture
Re: Error during connection to database: Can not load default My

Hi,
 
are you sure you have mysql server and mysql client libraries installed? What distribution are you using?
 
73 Petr

DO1YHJ
The problem is MariaDB

Got the same problem with Linux Mint 17.
Some Distributions install MariaDB instead of MySQL. MariaDB is a fork of MySQL and CQRLog doesn't work with it.
Solution: Deinstall CQRLog and MariaDB. Install MySQL with Synaptic or with the Software-Tool from your Distribution and after that, install CQRLog again. That worked for me.
 
73 de Heinz-Juergen  DO1YHJ

WO3S
In answer to your question, no.

I'm not sure.  I'm very new to linux and not really up to speed on computers.  I got so frustrated with Windows that I just wiped my entire hard drive and put Mint, Cinnamon as my os on this laptop.
 

DO1YHJ
 

 
Okay, there are different ways to install and removing Software on Linux Mint. In a Terminal with apt-get, with the Software Application from the Menu, Double Clicking a downloaded *.deb File and with Synaptic. In every case, Linux installs all needed Parts.
 
 
 
Cqrlog needs MySQL. If it is not installed on your system, it will be loaded and installed from the Software Installation Routine when you install cqrlog.
 
But there is a little difference to other Linux Distributions. Linux Mint installs a modified Version, a so named fork of MySQL. This fork is MariaDB. CQRLog doesn't work with it.
 
You have to install the real MySQL first, before installing cqrlog.
 
 
 
I don't know, with way you have used to install cqrlog. But I'm really sure, you have mariadb on your system. So we have to do some cleanup.
 
 
 
Open a Terminal and type: sudo synaptic
 
It will ask for your password and then worked with superuser rights. Be careful, you can destroy your system. In synaptic search for cqrlog, click in the check-box and check for a complete remove. Start the action and let synaptic do the work.
 
 
 
If you have installed cqrlog with the Double Click Method from a *.deb file, you can use the same way to remove cqrlog. Simple do a Double Click on the *.deb and choose remove.
 
 
 
Back to synaptic.
 
Now search for mariadb. There will be different parts with a green check-box. Mariadb-common. Mariadb-server and some more. Select maria-db-server-5.5 for a complete remove. In a pop-up Window, all parts which will be removed appear. Thats okay. Start the action.
 
Maybe, the Double Click removing Method has done that work too, I'm not sure. In that case, there are no green check-boxes and you can jump to the next part.
 
 
 
Now search for mysql. A lot of Parts will be shown. Check mysql-server for installation. Again a pop-up Window with all needed parts appear. Thats okay. All this parts will be installed when you start the action. The Installation Routine will ask for a database password, thats all you have to do.
 
 
 
Now you can install cqrlog again. It should work now.
 

G0MFR
Thanks! have it running fine

Thanks! have it running fine now under Mint 17