Download Latest Version v1.9.3 source code.tar.gz (110.2 kB)
Email in envelope

Get an email when there's a new version of Go MySQL Driver

Home / v1.9.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-02-18 2.0 kB
v1.9.0 source code.tar.gz 2025-02-18 109.1 kB
v1.9.0 source code.zip 2025-02-18 131.8 kB
Totals: 3 Items   242.9 kB 0

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.Atoi to parse max_allowed_packet. (#1661)
  • rejectReadOnly option now handles ER_READ_ONLY_MODE (1290) error too. (#1660)

Full Changelog: https://github.com/go-sql-driver/mysql/compare/v1.8.1...v1.9.0

New Contributors

Source: README.md, updated 2025-02-18