O
O
Oleg Gamega2015-05-16 15:27:08
MySQL
Oleg Gamega, 2015-05-16 15:27:08

How to connect MySQL to Python 3.4?

There is a project on flask, python 3.4, SQLAlchemy pymysql does not support Python 3.4, I don’t really want to downgrade, although until the project has grown, the question itself is how to connect MySQL to Python 3.4?

ImportError: No module named 'MySQLdb'

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oscar Django, 2015-05-16
@gadfi

mysqlclient

V
Vladimir Abramov, 2015-05-16
@kivsiak

It's strange, but here https://github.com/PyMySQL/PyMySQL/#id1 it says what it supports
dev.mysql.com/doc/connector-python/en/connector-py... and here it says what it supports.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question