Re: [sqlalchemy] Aborted connections

2021-03-10 Thread Mike Bayer
On Wed, Mar 10, 2021, at 5:39 AM, William Edwards wrote: > 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

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

Re: [sqlalchemy] Aborted connections

2021-02-28 Thread Mike Bayer
hi - *many* details are not here, database in use, driver, versions, etc.Most people won't be able to help with a problem like this without basic details. As it turns out I can tell you are using MySQL or MariaDB and the error is described at