MySQLdb (mysqlclient)

Larry Martell larry.martell at
Mon Aug 12 22:15:09 UTC 2019

I am trying to install MySQLdb (
for python3.6 on RHEL7.

When I import it, it fails:

# python3.6
Python 3.6.8 (default, Jun 11 2019, 15:15:01)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib64/python3.6/site-packages/mysqlclient-1.4.4-py3.6-linux-x86_64.egg/MySQLdb/",
line 18, in <module>
    from . import _mysql
ImportError: /usr/local/lib64/python3.6/site-packages/mysqlclient-1.4.4-py3.6-linux-x86_64.egg/MySQLdb/
undefined symbol: mysql_kill

Has anyone seen and resolved this?

More information about the redhat-list mailing list