Python and MySQL: is there an alternative to MySQLdb?

前端 未结 8 1382
挽巷
挽巷 2021-02-05 13:09

Is there a module written purely in Python that will allow a script to communicate with a MySQL database? I\'ve already tried MySQLdb without success. It requires too much: GCC,

8条回答
  •  孤街浪徒
    2021-02-05 14:01

    As mentioned in earlier answer, MySQL Connector/Python implements the MySQL Server/Client completely in Python. No compiling, just installing.

    Here are the links:
    * https://launchpad.net/myconnpy
    * code: https://code.launchpad.net/myconnpy
    * download: https://launchpad.net/myconnpy/+download (development shapshots)

    It's not complete yet, but it should have enough to keep you going. (FYI, I am the maintainer)

提交回复
热议问题