MySQL-db lib for Python 3.x?

后端 未结 9 1339
南方客
南方客 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条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-05 13:28

    There is an official Python 2/3 library, downloadable from MySQL website. Oracle released version 1.0.7 to public on 29 September 2012.

    It's pure Python and works with MySQL 4.1+

    See more details here: http://dev.mysql.com/doc/connector-python/en/connector-python.html

    I'm currently using it with MySQL 5.5 and Python 3.2 with no problems thus far :)

提交回复
热议问题