diff --git a/django/db/backends/mysql/base.py b/django/db/backends/mysql/base.py index ca12917322..6811b10abb 100644 --- a/django/db/backends/mysql/base.py +++ b/django/db/backends/mysql/base.py @@ -31,9 +31,9 @@ from .schema import DatabaseSchemaEditor from .validation import DatabaseValidation version = Database.version_info -if version < (1, 4, 0): +if version < (1, 4, 3): raise ImproperlyConfigured( - "mysqlclient 1.4.0 or newer is required; you have %s." % Database.__version__ + "mysqlclient 1.4.3 or newer is required; you have %s." % Database.__version__ ) diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index ee573c5f65..860d550232 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -450,7 +450,7 @@ Connector/Python includes `its own`_. mysqlclient ~~~~~~~~~~~ -Django requires `mysqlclient`_ 1.4.0 or later. +Django requires `mysqlclient`_ 1.4.3 or later. MySQL Connector/Python ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/releases/4.2.txt b/docs/releases/4.2.txt index c846d1b3d7..55aef8a327 100644 --- a/docs/releases/4.2.txt +++ b/docs/releases/4.2.txt @@ -507,6 +507,9 @@ Miscellaneous that differ only in case. If you need the previous behavior, use :class:`~django.contrib.auth.forms.BaseUserCreationForm` instead. +* The minimum supported version of ``mysqlclient`` is increased from 1.4.0 to + 1.4.3. + .. _deprecated-features-4.2: Features deprecated in 4.2 diff --git a/tests/requirements/mysql.txt b/tests/requirements/mysql.txt index df8a023017..27be1d86cc 100644 --- a/tests/requirements/mysql.txt +++ b/tests/requirements/mysql.txt @@ -1 +1 @@ -mysqlclient >= 1.4.0 +mysqlclient >= 1.4.3