I had a running django project and for some reasons I had to remove the current mysql version and install a different MySQL version in my machine.
But now when I am try
In my case the problem was caused by Ubuntu upgrades, so I can't find libmysqlclient.so.20
in /usr/lib/x86_64-linux-gnu
.
Solution:
libmysqlclient.so.XX
in /usr/lib/x86_64-linux-gnu
(or similar)libmysqlclient.so.XX
from Ubuntu website (eg. link for v20)sudo dpkg -i libmysqlclient(...).deb
and sudo apt-get install -f
ln -s /usr/lib/x86_64-linux-gnu/libmysqlclient.XX.so libmysqlclient.XX.so