Sqlalchemy.exc.operationalerror: (psycopg2.operationalerror) September 22, 2023 Post a Comment My Flask app(postgresql db) is working fine in local. I pushed my code to server and there I tried to run.py db migrate, it throws me these errors Traceback (most recent call last)Solution 1: Fixed it with a `sudo. sudo run.py db migrate CopyI know it is weird but yes, sudo did the trick Baca JugaSqlalchemy: Filter Many-to-one Relationship Where The One Object Has A List Containing A Specific ValueSqlalchemy Flask: Attributeerror: 'session' Object Has No Attribute '_model_changes' On Session.commit()How To Connect Docker Volume 'database/app.db' To Sqlalchemy? Share You may like these postsHow To Test Sqlalchemy With Reflected DatabaseHow To Nest Conjunctions Or_ And And_ In Sqlalchamey'engine' Object Has No Attribute 'drivername'Attributeerror: 'str' Object Has No Attribute '_sa_instance_state' Post a Comment for "Sqlalchemy.exc.operationalerror: (psycopg2.operationalerror)"
Post a Comment for "Sqlalchemy.exc.operationalerror: (psycopg2.operationalerror)"