MySQL database connector for Python (with Python 3 support)
ssl=True
by @methane in https://github.com/PyMySQL/mysqlclient/pull/700
Full Changelog: https://github.com/PyMySQL/mysqlclient/compare/v2.2.3...v2.2.4
Connection.kill()
broken since 2.2.2 by @methane in https://github.com/PyMySQL/mysqlclient/pull/696
Full Changelog: https://github.com/PyMySQL/mysqlclient/compare/v2.2.2...v2.2.3
conn.kill()
and conn.shutdown()
are deprecated.Full Changelog: https://github.com/PyMySQL/mysqlclient/compare/v2.2.1...v2.2.2
Connection.ping()
avoid using MYSQL_OPT_RECONNECT
option until reconnect=True
is specified. MySQL 8.0.33 start showing warning when the option is used. (#664)pkg-config
to documentation by @hamarituc in https://github.com/PyMySQL/mysqlclient/pull/621
README.md
by @Benjamin-Loison in https://github.com/PyMySQL/mysqlclient/pull/665
Full Changelog: https://github.com/PyMySQL/mysqlclient/compare/v2.2.0...v2.2.1
mysqlclient uses pkg-config
since v2.2. You need to configure pkg-config, or manually set envvars.
READ the manual
Full Changelog: https://github.com/PyMySQL/mysqlclient/compare/v2.1.1...v2.2.0
v2.2.0 uses pkg-config
instead of mysql_config
. You need to install pkg-config
to build. You can configure cflags and ldflags manually by setting MYSQLCLIENT_CFLAGS
and MYSQLCLIENT_LDFLAGS
too.
Cursor.mogrify()
is added.
Cursor.executemany
implementation now uses mogrify()
. Sequencee of scalar value (e.g. executemany("INSERT INTO t (data) VALUES (%s)", [1, 2, 3]
) is no more valid args. You need to use sequence of tuple (e.g. [(1,), (2,), (3,)]
) instead.
Full Changelog: https://github.com/PyMySQL/mysqlclient/compare/v2.1.1...v2.2.0rc1
Full Changelog: https://github.com/PyMySQL/mysqlclient/compare/v2.1.0...v2.1.1
Full Changelog: https://github.com/PyMySQL/mysqlclient/compare/v2.0.3...v2.1.0
Full Changelog: https://github.com/PyMySQL/mysqlclient/compare/v2.0.3...v2.1.0rc1