Aborted connection
Open
sqlalchemy
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 272
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
Im using aiomysql with SQLAlchemy and i get this warning from mysql:
Aborted connection to db: 'zzzzzzz' user: 'xxxx' host: 'XXXXXXXX' (Got an error reading communication packets)
I've readed a little bit about this error and this seems to happens when you dont close connection properly, im closing my conns like this:
await connection.close()
engine.close()
await engine.wait_closed()
where engine is the var storing the engine and connection the result of engine.acquire(). Maybe im clossing the connection wrong?
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.