MySQL-db lib for Python 3.x?

后端 未结 9 1325
南方客
南方客 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:27

    You can download the mysql-connector-python module compatible with Python3:

    http://rpm.pbone.net/index.php3/stat/4/idpl/15667200/dir/rawhide/com/mysql-connector-python3-0.3.2-2.fc16.noarch.rpm.html

    Get the "source RPM", unzip it and use it (e.g. put it in your PYTHONPATH, and look at the examples).

提交回复
热议问题