Cloned from launchpad blueprint https://blueprints.launchpad.net/oslo.db/+spec/enable-mysql-connector.
Current MySQL client library we use (MySQLdb) plays bad with eventlet and may result in db deadlocks . It also blocks execution of other green threads while we're deep in the library code . To avoid those issues, we need to switch to a pure python library with better eventlet support. MySQL Connector is an official mysql python client library and has the needed qualities.
Specification URL (additional information):
The work to support mysql-connector is obsoleted in u/s since the plan is to go forward with pymysql. Closing the bug as not relevant.