diff --git a/django/db/backends/mysql/base.py b/django/db/backends/mysql/base.py index fcc6a91c47..2cd6248cdb 100644 --- a/django/db/backends/mysql/base.py +++ b/django/db/backends/mysql/base.py @@ -32,8 +32,8 @@ from .schema import DatabaseSchemaEditor # isort:skip from .validation import DatabaseValidation # isort:skip version = Database.version_info -if version < (1, 3, 7): - raise ImproperlyConfigured('mysqlclient 1.3.7 or newer is required; you have %s.' % Database.__version__) +if version < (1, 3, 13): + raise ImproperlyConfigured('mysqlclient 1.3.13 or newer is required; you have %s.' % Database.__version__) # MySQLdb returns TIME columns as timedelta -- they are more like timedelta in diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 98f14629bb..2dd1c06687 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -335,7 +335,7 @@ Connector/Python includes `its own`_. mysqlclient ~~~~~~~~~~~ -Django requires `mysqlclient`_ 1.3.7 or later. +Django requires `mysqlclient`_ 1.3.13 or later. MySQL Connector/Python ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index 7cabba3ad6..93a4a68994 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -424,6 +424,9 @@ Miscellaneous * Support for ``cx_Oracle`` < 6.0 is removed. +* The minimum supported version of ``mysqlclient`` is increased from 1.3.7 to + 1.3.13. + * In an attempt to provide more semantic query data, ``NullBooleanSelect`` now renders ``