MySQLdb和mysql connector的区别

Posted by Nathan on 2016-05-29

引自Stackoverflow MySQLdb is a C module that links against the MySQL protocol implementation in the libmysqlclient library. It is faster, but requires the library in order to work. mysql-connector is a Python module that reimplements the MySQL protocol in Python. It is slower, but does not require the C library and so is more portable.