unstale

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 init

@unstale/cli on npm

mysqlclient 29 changes

Breaking changes 1

  • Raises ProgrammingError immediately on concurrent connection use instead of blocking.

    2.3.0release notes

Deprecations 2

  • Exception classes exposed in Cursor attributes are deprecated.

    2.3.0release notes

  • The reconnect parameter of ping() is deprecated.

    2.3.0release notes

New APIs and options 2

Behavior and default changes 2

Fixes and other changes 2

  • Quotes procedure names and user variables with backticks when calling stored procedures.

    2.3.0release notes

  • Supports microseconds and negative values.

    2.3.0release notes