github.com/go-sql-driver/mysql breaking changes
github.com/go-sql-driver/mysql v1.10.2 (November 17, 2026) is its newest release with breaking changes, 3 of them. The first: Error text for unsafe interpolateParams configuration changed in github.com/go-sql-driver/mysql v1.10.2. Every breaking API change we have recorded in github.com/go-sql-driver/mysql on Go modules: 8 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v1.11.0, released November 27, 2026. Source repository
Its v1.9.0 release requires Go 1.21 or later. Go end of life dates.
github.com/go-sql-driver/mysql v1.10.2 breaking changes
- Behavior changed
The error message changed, so code that compares the full error string must be updated to the new text. github.com - Behavior changed
collation
A collation outside the handshake's one-byte map is now rejected when no charset is supplied, instead of silently using the default collation. Supply a charset alongside it. github.com - Behavior changed
interpolateParams
interpolateParams=true combined with big5, sjis, gbk, cp932 or gb18030 given by charset or Charset() is now rejected, and the check also runs after BeforeConnect. Use a different charset if you relied on these. github.com
github.com/go-sql-driver/mysql v1.10.0 breaking changes
- Behavior changed
Transaction Commit.Rollback
Commit or Rollback can now return an error that was previously ignored when the connection already holds a cached error. Code that relied on those calls succeeding silently should check the returned error. github.com
github.com/go-sql-driver/mysql v1.9.3 breaking changes
- Behavior changed
Transaction Commit.Rollback
Commit and Rollback now return an error that the connection had already cached, where they previously could succeed silently. Check code that ignores errors from these calls. github.com
github.com/go-sql-driver/mysql v1.9.0 breaking changes
- Removed
The release requires Go 1.21 or later. Projects built with an older Go toolchain must upgrade it before using this version. github.com - Behavior changed
Log messages from the driver, including those sent to custom loggers, now start with a filename:line prefix. Code that parses log output may need updating. github.com - Behavior changed
rejectReadOnly
The rejectReadOnly option now also treats ER_READ_ONLY_MODE (1290) as a read-only rejection. Code that relied on that error passing through unchanged may see different behavior. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.