Python3 defies using a database

Asked by harrison

I have spent a lot of time looking for instructions to use a mysql db with python 3. I have not come up with anything that allows me to use web connections and db conections. I have tried connect, connections, mysqldb, pymysql, etc? My application is a simple one and should not take this time to develop. Python3 is the real problem. How do I couple python3 to a mysql (type) db?
Thanks in advance,
kapt

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
harrison (kapthari) said :
#1

Anybody please.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#2

the package python3-mysql.connector has some examples

Revision history for this message
harrison (kapthari) said :
#3

Thanks, I just backed off to Python 2. It works well enough for this app. Seems like Python 3 is out to destroy the language.

Best regards and thanks again

Kapthar