Python and MySQL: is there an alternative to MySQLdb?

前端 未结 8 1392
挽巷
挽巷 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 13:53

    Lately there is also oursql (docs), which has various advantages over MySQLdb and other existing drivers -- listed at the top of the documentation.

提交回复
热议问题