i'm trying to run a 5.7 MySQL server in my ubuntu 18.04 server. When i run the application that uses MySQL it tells me that this file "libmysqlclient.so.18" or directory does not exist. I tried looking for it online but nothing i tried helped me. Hoy an i fix this issue? I have almost no experience with Ubuntu
11 Answer
This error means that you're missing a library package. This should get you running:
- Update
apt:$ sudo apt update - Install the library package that contains
libmysqlclient.so.18:$ sudo apt install libmysqlclient18 - (Optional) Restart MySQL:
$ sudo service mysql restart
This should be all you need to do 👍🏻