Install Mysql client driver linux

From Gestinux Wiki
Revision as of 19:30, 29 November 2020 by Tintinux (talk | contribs) (Created page with "Unfortunately some recent changes in Ubuntu made things a bit more difficult... * First find the driver (something like /usr/lib/x86_64-linux-gnu/libmysqlclient.so.21) : s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 Français

Unfortunately some recent changes in Ubuntu made things a bit more difficult...

  • First 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 it, and retry.
 sudo apt-get install libmysqlclient*
  • then run the command line, 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 
  • another way is to register later in Gestinux database configuration the filename found.