Answer the question
In order to leave comments, you need to log in
How to fix an error with access?
In a flask in the main2 file through SQLAlchemy, I created several tables. Then I go to python main2.py shell.
I write commands there:
from main2 import db
db.create_all()
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1698, "Access denied for user 'root'@'localhost'")
(Background on this error at: http://sqlalche.me/e/13/e3q8).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question