4

everyone I am new to python and I want to connect MySQL database with python 3 script. I did some googling but couldn't find anything for python 3 although there are methods for earlier python releases. Could anyone suggest a method?

1 Answer 1

4

MySQL-Connector, oursql and PyMySQL all support Python 3. They are also all supported by SQLAlchemy, which also supports Python 3.

So most likely you's want to use SQLAlchemy + one of the above conectors.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.