Skip to content Skip to sidebar Skip to footer

Error While Trying To Connect Mysql With Sqlalchemy (flask)

I have been looking for this error for a while but nothing seems to solve my problem, the thing is.. I was using sqlite3 with flask, but it seems like sqlite3 does not support mig

Solution 1:

In the database configuration. Replace localhost with 127.0.0.1:

environ.get('APP_DATABASE_HOST', 'localhost')

to

environ.get('APP_DATABASE_HOST', '127.0.0.1')

Post a Comment for "Error While Trying To Connect Mysql With Sqlalchemy (flask)"