Difference between revisions of "Install Mysql client driver linux"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
First find the driver (something like /usr/lib/x86_64-linux-gnu/libmysqlclient.so.21) : | First find the driver (something like /usr/lib/x86_64-linux-gnu/libmysqlclient.so.21) : | ||
sudo find / libmysql*.* | grep libmysql | sudo find / libmysql*.* | grep libmysql | ||
− | if not found, try to install | + | |
+ | if not found, try to install one, and retry. | ||
sudo apt-get install libmysqlclient* | sudo apt-get install libmysqlclient* | ||
− | It is possible to register the filename found when you will create or select your Database in Gestinux. Copy it's name. | + | |
+ | It is possible to register the filename found when you will create or select your Database later in Gestinux. Copy it's name. | ||
+ | |||
You can also run the command line below, replacing the 2nd file by the driver path found before. | You can also run the command line below, replacing the 2nd file by the driver path found before. | ||
sudo ln -s /usr/lib/x86_64-linux-gnu/libmysqlclient.so.21 /usr/lib/mysqlclient.so | sudo ln -s /usr/lib/x86_64-linux-gnu/libmysqlclient.so.21 /usr/lib/mysqlclient.so |
Revision as of 20:09, 29 November 2020
FrançaisFirst find the driver (something like /usr/lib/x86_64-linux-gnu/libmysqlclient.so.21) :
sudo find / libmysql*.* | grep libmysql
if not found, try to install one, and retry.
sudo apt-get install libmysqlclient*
It is possible to register the filename found when you will create or select your Database later in Gestinux. Copy it's name.
You can also run the command line below, replacing the 2nd file by the driver path found before.
sudo ln -s /usr/lib/x86_64-linux-gnu/libmysqlclient.so.21 /usr/lib/mysqlclient.so