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 SQLAlchemy
close the connection neatly:
--
with self.engine.engine.connect() as connection:
self.result = connection.execute(self.query)
--
self.engine.engine is whatever 'sa.create_engine' returns.
Why are these connections kept open anyway?
Thank you.
--
SQLAlchemy -
The Python SQL Toolkit and Object Relational Mapper
http://www.sqlalchemy.org/
To post example code, please provide an MCVE: Minimal, Complete, and Verifiable
Example. See http://stackoverflow.com/help/mcve for a full description.
---
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sqlalchemy/f2107381-6e2b-4f2a-b28f-8b5c7eee8029n%40googlegroups.com.