📜  sqlalchemy.exc.OperationalError: - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:32.352000             🧑  作者: Mango

代码示例1
you must create db with tables before trying to call it.(create database in mysql (create database flask;)first than run flask code)
code to create 
>>> from mysqldb import db
>>> db.create_all()