Replies: 3 comments
-
I found the following log in the service area: |
Beta Was this translation helpful? Give feedback.
-
That 4 lines of code is not enought to reproduce. Anyway, only I can say is Go received EOF. It means someone close the connection. I can not debug your environment. You should debug your environment with Wireshark and tcpdump. |
Beta Was this translation helpful? Give feedback.
-
Issue description
Occasionally, an error occurs, but it is not consistently reproducible. Sometimes, after a long period of inactivity, the error appears when a query is executed. I have already set ConnMaxLifetime, which makes this issue even more puzzling.
Example code
Error log
Configuration
Driver version (or git SHA): v1.7.1
Go version: go1.21.4
Server version: MySQL 8.0.23
Server OS: debian:stable-slim
Beta Was this translation helpful? Give feedback.
All reactions