django2.2 mysql8.0 mysqlclient
django2.2 官方mysql django mysql 支持 MySQL DB API Drivers¶ MySQL has a couple drivers that implement the Python Database API described in PEP 249: mysqlclient is a native driver. It’s the recommended choice. MySQL Connector/Python is a pure Python driver from Oracle that does not require the MySQL client library or any Python modules outside the standard library. These drivers are thread-safe and provide connection pooling. In addition to a DB API driver, Django needs an adapter to access the database drivers from its ORM. Django provides an adapter for mysqlclient while MySQL Connector/Python