我尝试测试python和mysql之间的连接时出错

时间:2017-03-12 14:13:08

标签: python mysql linux pycharm

error when i try to test connection between python and mysql

  /usr/bin/python2.7 /root/PycharmProjects/db/connections.py

追踪(最近一次通话):   文件“/root/PycharmProjects/db/connections.py”,第1行,

import MySQLdb

文件“build / bdist.linux-x86_64 / egg / MySQLdb / init .py”,第19行,

文件“build / bdist.linux-x86_64 / egg / _mysql.py”,第7行,in   文件“build / bdist.linux-x86_64 / egg / _mysql.py”,第6行, bootstrap

ImportError:/root/.cache/Python-Eggs/MySQL_python-1.2.5-py2.7-linux-x86_64.egg-tmp/_mysql.so:undefined symbol:SSL_accept

0 个答案:

没有答案