I am trying to get a Python script to run on the linux server I\'m connected to via ssh. The script uses mysqldb. I have all the other components I need, but when I try to i
So far, all solutions (Linux) require sudo
or root rights to install .
Here is a solution if you do not have root rights and without sudo
. (no sudo apt install ...
):
dpkg -x libmysqlclient-dev_.deb .
This will extract a folder called usr
. Symlink ./usr/bin/mysql_config
to somewhere that is found on your $PATH
:
ln -s
`pwd`
/usr/bin/mysql_config FOLDER_IN_YOUR_PATH
It should now be able to find mysql_config
Tested on Ubuntu 18.04.