[Django] #34511: mysqlclient 1.4.3 or newer is required; you have 1.0.3.

1,099 views
Skip to first unread message

Django

unread,
Apr 23, 2023, 8:09:38 AM4/23/23
to django-...@googlegroups.com
#34511: mysqlclient 1.4.3 or newer is required; you have 1.0.3.
-------------------------------------+-------------------------------------
Reporter: HsinM | Owner: nobody
Type: Bug | Status: new
Component: Core | Version: 4.2
(Other) | Keywords: mysql, mysqlclient,
Severity: Normal | PyMySQL
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
When use `Django-4.2-py3-none-any` and `PyMySQL-1.0.3-py3-none-any`,
django won't load PyMySQL correctly but 4.1.8 is Ok.
Error message is `django.core.exceptions.ImproperlyConfigured: mysqlclient
1.4.3 or newer is required; you have 1.0.3.`.

--
Ticket URL: <https://code.djangoproject.com/ticket/34511>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 23, 2023, 8:19:00 AM4/23/23
to django-...@googlegroups.com
#34511: mysqlclient 1.4.3 or newer is required; you have 1.0.3.
-------------------------------------+-------------------------------------
Reporter: hsin | Owner: nobody
Type: Bug | Status: closed
Component: Core (Other) | Version: 4.2
Severity: Normal | Resolution: invalid
Keywords: mysql, mysqlclient, | Triage Stage:
PyMySQL | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by David Sanders):

* status: new => closed
* resolution: => invalid


Comment:

[https://docs.djangoproject.com/en/4.2/ref/databases/#mysql-db-api-drivers
Django doesn't officially support PyMySQL] but
[https://adamj.eu/tech/2020/02/04/how-to-use-pymysql-with-django/ Adam
Johnson has blogged about setting it up] if you'd like to use that 👍

--
Ticket URL: <https://code.djangoproject.com/ticket/34511#comment:1>

Django

unread,
Apr 23, 2023, 8:27:56 AM4/23/23
to django-...@googlegroups.com
#34511: mysqlclient 1.4.3 or newer is required; you have 1.0.3.
-------------------------------------+-------------------------------------
Reporter: hsin | Owner: nobody
Type: Bug | Status: closed
Component: Core (Other) | Version: 4.2
Severity: Normal | Resolution: invalid
Keywords: mysql, mysqlclient, | Triage Stage:
PyMySQL | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Claude Paroz):

You might also report this to PyMySQL so as the fake version info is
updated to some more recent numbers
(https://github.com/PyMySQL/PyMySQL/blob/main/pymysql/__init__.py#L120).

--
Ticket URL: <https://code.djangoproject.com/ticket/34511#comment:2>

Reply all
Reply to author
Forward
0 new messages