D
D
Dmitry2015-01-12 16:40:09
MySQL
Dmitry, 2015-01-12 16:40:09

Moving a Flask application from SQLite to MySql gives errors, how to “make friends” with them?

I am training on the application https://github.com/miguelgrinberg/flask-pycon2014 , I want to convert it to MySql, but all attempts to run migrations to the database give such an error

sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:mysqld

I'm using python 3.4.2, but it was the same on 2.7.
How to fix? Which way to look?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xSkyFoXx, 2015-01-12
@xSkyFoXx

Is the MySQL driver for python worth it? Seems to be the issue.
Better try to repair on 2.7.
Everything is bad with flask c 3.x.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question