https://pypi.python.org/pypi/pymysql •Pure python •Faster than mysql-connector •Almost completely compatible with MySQLdb, after calling pymysql.install_as_MySQLdb()
https://pypi.python.org/pypi/mysqlclient •Django's recommended library. •Friendly fork of the original MySQLdb, hopes to merge back some day •The fastest implementation, as it is C based. •The most compatible with MySQLdb, as it is a fork •Debian and Ubuntu use it to provide both python-mysqldb andpython3-mysqldb packages本回答被网友采纳