How do I connect to a MySQL Database in Python?

后端 未结 25 1547
眼角桃花
眼角桃花 2020-11-21 07:43

How do I connect to a MySQL database using a python program?

25条回答
  •  一向
    一向 (楼主)
    2020-11-21 08:25

    Oracle (MySQL) now supports a pure Python connector. That means no binaries to install: it's just a Python library. It's called "Connector/Python".

    http://dev.mysql.com/downloads/connector/python/

提交回复
热议问题