github.com/go-sql-driver/mysql
v1.10.0
#247 most downloaded on Go modules
go-sql-driver/mysql
What this package is like to depend on
Last release 3 days ago
20 Aug 2026
Ships unpredictably
gaps range from 8 days to 8 months
Some releases are documented
notes for 10 of 20 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
622 releases · first in 2012
24 releases in the last 12 months
see the full history below
Release timeline
622 releases · May 2012 to Aug 2026Releases
latest 60 of 622-
v1.10.1-0.20260820213450-532b8e566f2320 Aug 2026 pre-releaseNothing published for this version
-
v1.10.1-0.20260814074202-fe209ccef76214 Aug 2026 pre-releaseNothing published for this version
-
v1.10.1-0.20260807053845-03d76c7e079007 Aug 2026 pre-releaseNothing published for this version
-
v1.10.1-0.20260731091240-c426bd93799d31 Jul 2026 pre-releaseNothing published for this version
-
v1.10.1-0.20260716145735-416cd99d463916 Jul 2026 pre-releaseNothing published for this version
-
v1.10.1-0.20260715065847-b96d41506ad915 Jul 2026 pre-releaseNothing published for this version
-
v1.10.1-0.20260712001338-dec193d8a18212 Jul 2026 pre-releaseNothing published for this version
-
v1.10.1-0.20260702152212-301344764f9d02 Jul 2026 pre-releaseNothing published for this version
-
v1.10.1-0.20260626011754-9d60a398c47426 Jun 2026 pre-releaseNothing published for this version
-
v1.10.1-0.20260613074156-7e1e3ed8ab9f13 Jun 2026 pre-releaseNothing published for this version
-
v1.10.1-0.20260520072059-0182914173ef20 May 2026 pre-releaseNothing published for this version
-
v1.10.029 Apr 2026Release notes
Open source →What's Changed
- add Go 1.24 to the test matrix by @shogo82148 in #1681
- modernize for Go 1.22 by @methane in #1695
- test stability improvement. by @methane in #1698
- simplify collation tests by @methane in #1700
- fix bigint unsigned null column scan to err type int64 by @elonnzhang in #1612
- Transaction Commit/Rollback returns conn's cached error, if present by @brad-defined in #1691
- add BenchmarkReceive10kRowsCompress by @methane in #1704
- optimize readPacket by @methane in #1705
- MariaDB Metadata skipping and DEPRECATE_EOF by @rusher in #1708
- Optimization: statements reuse previous column name by @methane in #1711
- update outdated MySQL internals documentation links by @demouth in #1714
- fix PING on compressed connections by @methane in #1721
- add DeepWiki badge by @methane in #1722
- Update edwards25519 dependency to v1.1.1 by @williamhaw in #1749
- Configure Dependabot for Go modules by @methane in #1755
- Bump dominikh/staticcheck-action from 1.3.1 to 1.4.1 by @dependabot[bot] in #1759
- Bump github/codeql-action from 3 to 4 by @dependabot[bot] in #1760
- Bump actions/setup-go from 5 to 6 by @dependabot[bot] in #1757
- fix staticcheck error by @methane in #1761
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in #1758
- Fix getSystemVar buffer reuse by @morgo in #1754
- Consolidate Dependabot update noise by grouping weekly dependency PRs by @Copilot in #1762
- Bump filippo.io/edwards25519 from 1.1.1 to 1.2.0 by @dependabot[bot] in #1756
- CI: Update GitHub Actions Go matrix to 1.24–1.26 by @Copilot in #1763
- Enhance interpolateParams to correctly handle placeholders by @rusher in #1732
- modernize by @methane in #1764
- release v1.10.0 by @methane in #1765
New Contributors
- @elonnzhang made their first contribution in #1612
- @brad-defined made their first contribution in #1691
- @rusher made their first contribution in #1708
- @demouth made their first contribution in #1714
- @williamhaw made their first contribution in #1749
- @dependabot[bot] made their first contribution in #1759
- @morgo made their first contribution in #1754
- @Copilot made their first contribution in #1762
Full Changelog: v1.9.2...v1.10.0
Release notes
Open source →-
Fix
getSystemVar("max_allowed_packet")potentially returned wrong value. (#1754) This affects only whenmaxAllowedPacket=0is set. -
Bump filippo.io/edwards25519 from 1.1.1 to 1.2.0. (#1756) While older versions have reported CVEs, they do not affect go-mysql.
-
Update Go versions to 1.24-1.26. (#1763)
-
Enhance interpolateParams to correctly handle placeholders. (#1732) The question mark (?) within strings and comments will no longer be treated as a placeholder.
-
v1.9.313 Jun 2025Release notes
Open source →What's Changed
- [1.9] test stability improvement. by @methane in #1699
- [1.9] Transaction Commit/Rollback returns conn's cached error by @methane in #1702
- backport benchmark_test by @methane in #1706
- [1.9] optimize readPacket (#1705) by @methane in #1707
- [1.9] fix PING on compressed connections by @methane in #1723
- release v1.9.3 by @methane in #1725
Full Changelog: v1.9.2...v1.9.3
Release notes
Open source →-
tx.Commit()andtx.Rollback()returnedErrInvalidConnalways. Now they return cached real error if present. (#1690) -
Optimize reading small result sets to fix a performance regression introduced by compression protocol support. (
#1707) -
Fix
db.Ping()on compressed connection. (#1723)
-
v1.9.3-0.20260427104753-6c44a9a0a17627 Apr 2026 pre-releaseNothing published for this version
-
v1.9.3-0.20260421120512-688ce563a28521 Apr 2026 pre-releaseNothing published for this version
-
v1.9.3-0.20260219133743-fed2c72bc51819 Feb 2026 pre-releaseNothing published for this version
-
v1.9.3-0.20250613015659-76c00e35a8d413 Jun 2025 pre-releaseNothing published for this version
-
v1.9.3-0.20250612131400-bf7afb7cf4b212 Jun 2025 pre-releaseNothing published for this version
-
v1.9.3-0.20250508063858-af56fba75c8308 May 2025 pre-releaseNothing published for this version
-
v1.9.3-0.20250429024341-2356566e512329 Apr 2025 pre-releaseNothing published for this version
-
v1.9.3-0.20250426000852-6e944e126d9126 Apr 2025 pre-releaseNothing published for this version
-
v1.9.3-0.20250424094348-0fd55eb45dae24 Apr 2025 pre-releaseNothing published for this version
-
v1.9.3-0.20250423082806-f7d94ecd2d7123 Apr 2025 pre-releaseNothing published for this version
-
v1.9.3-0.20250421104234-7da50ff71ba321 Apr 2025 pre-releaseNothing published for this version
-
v1.9.3-0.20250420112435-f433f1f9c1c020 Apr 2025 pre-releaseNothing published for this version
-
v1.9.3-0.20250411105834-879eb117f44311 Apr 2025 pre-releaseNothing published for this version
-
v1.9.3-0.20250408034531-c84f49d1dbeb08 Apr 2025 pre-releaseNothing published for this version
-
v1.9.207 Apr 2025Release notes
Open source →What's Changed
v1.9.2 is a re-release of v1.9.1 due to a release process issue; no changes were made to the content.
Full Changelog: v1.9.1...v1.9.2
Release notes
Open source →v1.9.2 is a re-release of v1.9.1 due to a release process issue; no changes were made to the content.
-
v1.9.121 Mar 2025Release notes
Open source →What's Changed
- add Charset() option by @methane in #1679
- Fix FormatDSN missing ConnectionAttributes by @bogcon in #1619
- go.mod: fix go version format by @methane in #1682
- release v1.9.1 by @methane in #1683
New Contributors
Full Changelog: v1.9.0...v1.9.1
Release notes
Open source →Major Changes
- Add Charset() option. (#1679)
Bugfixes
- go.mod: fix go version format (#1682)
- Fix FormatDSN missing ConnectionAttributes (#1619)
-
v1.9.1-0.20250314130500-b84ac5af9c7714 Mar 2025 pre-releaseNothing published for this version
-
v1.9.1-0.20250310024822-88ff88b5915d10 Mar 2025 pre-releaseNothing published for this version
-
v1.9.1-0.20250310023349-c87981610c0710 Mar 2025 pre-releaseNothing published for this version
-
v1.9.018 Feb 2025Release notes
Open source →Major Changes
- Implement zlib compression. (#1487)
- Supported Go version is updated to Go 1.21+. (#1639)
- Add support for VECTOR type introduced in MySQL 9.0. (#1609)
- Config object can have custom dial function. (#1527)
Bugfixes
- Fix auth errors when username/password are too long. (#1625)
- Check if MySQL supports CLIENT_CONNECT_ATTRS before sending client attributes. (#1640)
- Fix auth switch request handling. (#1666)
Other changes
- Add "filename:line" prefix to log in go-mysql. Custom loggers now show it. (#1589)
- Improve error handling. It reduces the "busy buffer" errors. (#1595, #1601, #1641)
- Use
strconv.Atoito parse max_allowed_packet. (#1661) rejectReadOnlyoption now handles ER_READ_ONLY_MODE (1290) error too. (#1660)
Full Changelog: v1.8.1...v1.9.0
New Contributors
- @dbussink made their first contribution in #1609
- @yokonao made their first contribution in #1615
- @pengbanban made their first contribution in #1620
- @aaronjheng made their first contribution in #1527
- @kratkyzobak made their first contribution in #1625
- @raffertyyu made their first contribution in #1640
- @minhquang4334 made their first contribution in #1647
- @joe-mann made their first contribution in #1487
- @arturmelanchyk made their first contribution in #1653
- @kolbe made their first contribution in #1660
- @bdollma-te made their first contribution in #1667
Release notes
Open source →Major Changes
- Implement zlib compression. (#1487)
- Supported Go version is updated to Go 1.21+. (#1639)
- Add support for VECTOR type introduced in MySQL 9.0. (#1609)
- Config object can have custom dial function. (#1527)
Bugfixes
- Fix auth errors when username/password are too long. (#1625)
- Check if MySQL supports CLIENT_CONNECT_ATTRS before sending client attributes. (#1640)
- Fix auth switch request handling. (#1666)
Other changes
- Add "filename:line" prefix to log in go-mysql. Custom loggers now show it. (#1589)
- Improve error handling. It reduces the "busy buffer" errors. (#1595, #1601, #1641)
- Use
strconv.Atoito parse max_allowed_packet. (#1661) rejectReadOnlyoption now handles ER_READ_ONLY_MODE (1290) error too. (#1660)
-
v1.8.2-0.20240613143533-a3323c059a7c13 Jun 2024 pre-releaseNothing published for this version
-
v1.8.126 Mar 2024Release notes
Open source → -
v1.8.1-0.20250129055901-341a5a52468329 Jan 2025 pre-releaseNothing published for this version
-
v1.8.1-0.20250123093231-85c6311943c823 Jan 2025 pre-releaseNothing published for this version
-
v1.8.1-0.20250122055924-255d1ad98f1d22 Jan 2025 pre-releaseNothing published for this version
-
v1.8.1-0.20241224041011-7403860363ca24 Dec 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20241220051332-b335ed33d6a120 Dec 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20241219031414-3348e573da4c19 Dec 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20241215033713-c9f41c07406215 Dec 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20241201010842-575e1b288d6201 Dec 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20241127034128-2df7a26b03e527 Nov 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20241121154825-9c8d6a5ddc5b21 Nov 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20241119040949-41a5fa29f2f719 Nov 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20241111021449-f62f523d245811 Nov 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240830053805-00dc21a6243c30 Aug 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240805053135-2f1527670cb705 Aug 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240804075229-c7276ee51ed304 Aug 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240724024526-44553d64bcde24 Jul 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240719042036-f6a18cf1ac3e19 Jul 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240719040206-9c20169374db19 Jul 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240628233617-3484db1f68a728 Jun 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240616012006-52c1917d999016 Jun 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240614045124-87443b94dfd414 Jun 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240611134922-9b8d28eff68e11 Jun 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240611133445-05325d8c2d8a11 Jun 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240604101235-2f7015e5c48d04 Jun 2024 pre-releaseNothing published for this version
-
v1.8.1-0.20240430132706-af8d7931954e30 Apr 2024 pre-releaseNothing published for this version