python2的版本用的是mysql-python包,python3的版本用的是pymysql包
2018-03-15
python3x版本以上不用 mysqldb 了,现在用的是 pymysql 了,也就是要 import pymysql
2018-02-08