开发者

Python 3.2 script to connect to local MySQL database

开发者 https://www.devze.com 2023-03-16 18:39 出处:网络
I am running an Ubuntu Server. I would like for it to have a Python (v3.2) CGI script that would connect, and run a query, to the local MySQL database I have set up. Currently, the only things I found

I am running an Ubuntu Server. I would like for it to have a Python (v3.2) CGI script that would connect, and run a query, to the local MySQL database I have set up. Currently, the only things I found don't support Python 3.2. Please do not suggest switching to an earlier version of Python, because that is no开发者_如何转开发t an option for me.

Thanks in advance for your help!


Take a look at this previous question: MySQL-db lib for Python 3.x?

Seems that a python 3 option is available.

0

精彩评论

暂无评论...
验证码 换一张
取 消