Re: [sqlalchemy] Aborted connections

2021-03-10 Thread William Edwards
Thanks for your response. So, when calling close() on an SQLAlchemy connection, it is returned to the connection pool, but the MySQL connection is not actually closed. That makes sense. Could you elaborate on your comment about garbage collection? My application is short-lived: it sets up the engi

[sqlalchemy] Aborted connections

2021-02-28 Thread William Edwards
Hello, Since implementing SQLAlchemy, my logs have been filling up with 'Aborted connection' messages. -- Aborted connection 294656 to db: 'unconnected' user: 'root' host: 'localhost' (Got an error reading communication packets) -- However, according to the documentation, my code should make S