---
title: "github.com/go-sql-driver/mysql v1.10.2 Breaking Changes"
description: "What each github.com/go-sql-driver/mysql release removed, renamed or changed: 8 breaking changes in 4 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/go-sql-driver/mysql
last_updated: 2026-12-04
---

# 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

Latest version `v1.11.0`, released November 27, 2026. [Source repository](https://github.com/go-sql-driver/mysql)

Its v1.9.0 release requires [Go 1.21](https://since.dev/calendar/go/1.21.md) or later. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v1.9.0](#v-v1-9-0) to [v1.10.2](#v-v1-10-2): 5 breaking changes in 3 versions.

## github.com/go-sql-driver/mysql v1.10.2 breaking changes

github.com/go-sql-driver/mysql v1.10.2, released November 17, 2026: 3 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](https://github.com/go-sql-driver/mysql/releases/tag/v1.10.2)
- **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](https://github.com/go-sql-driver/mysql/releases/tag/v1.10.2)
- **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](https://github.com/go-sql-driver/mysql/releases/tag/v1.10.2)

## github.com/go-sql-driver/mysql v1.10.0 breaking changes

github.com/go-sql-driver/mysql v1.10.0, released April 29, 2026: 1 breaking change.

- **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](https://github.com/go-sql-driver/mysql/releases/tag/v1.10.0)

## github.com/go-sql-driver/mysql v1.9.3 breaking changes

github.com/go-sql-driver/mysql v1.9.3, released June 13, 2025: 1 breaking change.

- **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](https://github.com/go-sql-driver/mysql/releases/tag/v1.9.3)

## github.com/go-sql-driver/mysql v1.9.0 breaking changes

github.com/go-sql-driver/mysql v1.9.0, released February 18, 2025: 3 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](https://github.com/go-sql-driver/mysql/releases/tag/v1.9.0)
- **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](https://github.com/go-sql-driver/mysql/releases/tag/v1.9.0)
- **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](https://github.com/go-sql-driver/mysql/releases/tag/v1.9.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
