-
Notifications
You must be signed in to change notification settings - Fork 261
Open
Labels
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!
luca-arch, andrewkoltsov, PovilasKud and PaulMarisOUMary