Skip to content

SqlAlchemy mysql connections drop and crash the session #17

@henryhbk

Description

@henryhbk

The classic "the MySQL server has gone away" error. This is due to Flask timing out an idle connection pool in the sqlalchemy engine and is fixed by either the pessimistic or optimistic strategies specified in the engine docs:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions