pypi / mysqlclient
mysqlclient
What changed in mysqlclient 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
1 breaking2 deprecations2 new APIs and options2 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initmysqlclient 29 changes
Breaking changes 1
Raises ProgrammingError immediately on concurrent connection use instead of blocking.
Deprecations 2
Exception classes exposed in Cursor attributes are deprecated.
The reconnect parameter of ping() is deprecated.
New APIs and options 2
Exposes the cursor's warning count.
Adds a Windows ARM64 build.
Behavior and default changes 2
Cursor now conforms to the DB-API 2.0 iterator interface.
Enhanced to use multistatement.
Fixes and other changes 2
Quotes procedure names and user variables with backticks when calling stored procedures.
Supports microseconds and negative values.