Monday, March 2, 2026

The Missing COM_RESET_CONNECTION in Go’s MySQL Driver — and the Engineering Behind Fixing It


While working on AlgoreaBackend, I encountered a subtle but serious issue in Go’s MySQL ecosystem.

The standard Go MySQL driver — go-sql-driver/mysql — does not implement COM_RESET_CONNECTION.

Not disabled. Not optional. Simply not implemented.

And that has real architectural consequences.