]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
re-support mysql-connector python
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 23 Feb 2025 16:20:18 +0000 (11:20 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 11 Mar 2025 21:39:38 +0000 (17:39 -0400)
commitbdf4ef844caf622da96460d57b86f4cf41cdbd45
tree59cc982a22d240969655b14cb5e44af15b686699
parent3f92784fbeebd8479c06250ab93f547515ec34fd
re-support mysql-connector python

Support has been re-added for the MySQL-Connector/Python DBAPI using the
``mysql+mysqlconnector://`` URL scheme.   The DBAPI now works against
modern MySQL versions as well as MariaDB versions (in the latter case it's
required to pass charset/collation explicitly).   Note however that
server side cursor support is disabled due to unresolved issues with this
driver.

note the 2.0 backport here necessarily needs to also backport some
of 49ce245998 to handle the mariadb database working under mysql
connector.

References: #12332
Change-Id: I81279478196e830d3c0d5f24ecb3fe2dc18d4ca6
(cherry picked from commit b056dd2c5ab71ce4143a95cd0fdd4a4190de19e6)
13 files changed:
doc/build/changelog/unreleased_20/12332.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/mysql/mariadb.py
lib/sqlalchemy/dialects/mysql/mysqlconnector.py
lib/sqlalchemy/dialects/mysql/provision.py
lib/sqlalchemy/dialects/mysql/types.py
lib/sqlalchemy/testing/suite/test_results.py
setup.cfg
test/dialect/mysql/test_dialect.py
test/dialect/mysql/test_for_update.py
test/engine/test_execute.py
test/requirements.py
tox.ini