Need to install mysql-devel in the server that has cPanel
Hi my friends
I have Python script in my cPanel server and need to connect my script to MYSQL, for connecting Python to MYSQL i need to have libmysqlclient
Please help me to fix problem. I ask this question in cPanel forum because this error only occur on cPanel server and other servers without cPanel doesn't have this problem. thanks alot
File "/usr/lib64/python3.6/site-packages/MySQLdb/init.py", line 19, in
import _mysql
ImportError: /usr/lib64/libmysqlclient.so.18: version `libmysqlclient_16' not found (required by /usr/lib64/python3.6/site-packages/_mysql.cpython-36m-x86_64-linux-gnu.so)
Please help me to fix problem. I ask this question in cPanel forum because this error only occur on cPanel server and other servers without cPanel doesn't have this problem. thanks alot
-
Hello, Could you let us know the specific command you are using, and the version of MySQL/MariaDB currently installed on your system? Note if you are using CloudLinux, review the following URL: Installing MySQL-Python on cPanel server Thank you. 0
Please sign in to leave a comment.
Comments
1 comment