MySQL-db lib for Python 3.x?

后端 未结 9 1320
南方客
南方客 2020-12-05 13:16

So, looking for a mysql-db-lib that is compatible with py3k/py3.0/py3000, any ideas? Google turned up nothing.

9条回答
  •  萌比男神i
    2020-12-05 13:38

    It appears the MySQLdb is pretty much a dead project. However, PyMySQL is a dbapi compliant, pure-python implementation of a mysql client, and it has python 3 support.

    EDIT: There's also MySQL Connector/Python. Same idea.

提交回复
热议问题