How to connect to MySQL using python 3
everyone i am new to python and i want to connect MySQL database using python 3 script. I did some searches but couldn't find anything for python 3 although there are methods for earlier python releases. Can anyone suggest a method?
+3
archit2u
source
to share
1 answer
MySQL-Connector , oursql and PyMySQL support Python 3. They are also supported by SQLAlchemy , which also supports Python 3.
Therefore, most likely you want to use SQLAlchemy + one of the above connectors.
+3
Lennart Regebro
source
to share