Replies: 1 comment
-
aiomysql simply closes the tcp connection without sending COM_QUIT packet when |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I try to connect my fastapi to mysql database with aiomysql.
The minimal code looks like
This code is basically the same as this one here: https://aiomysql.readthedocs.io/en/stable/connection.html
whenever I call execute_query_and_fetch("SELECT ..."), I receive following error
However, I get the correct result, but anyway. There shouldn't be an error message for each query.
Has anyone an idea what happened here?
UPDATE: it works if I switch mariadb docker container to mysql, but anyway, is there a simple explanation?
Beta Was this translation helpful? Give feedback.
All reactions