bxcodec / go-clean-arch

Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture
MIT License
9.03k stars 1.19k forks source link

Golang MySQL error - packets.go:33: unexpected EOF #102

Open MinhWalker opened 4 months ago

MinhWalker commented 4 months ago

While executing the $ make up command, I encountered a persistent issue. After conducting some research, I was able to pinpoint and rectify the cause.

Enclosed are the logs that initially highlighted the problem:

[mysql] 2022/02/04 19:18:05 packets.go:37: unexpected EOF
[mysql] 2022/02/04 19:18:05 packets.go:37: unexpected EOF
[mysql] 2022/02/04 19:18:05 packets.go:37: unexpected EOF
panic: driver: bad connection

I've included the details of the fix in this pull request for review.