#34511 closed Bug (invalid)
mysqlclient 1.4.3 or newer is required; you have 1.0.3.
| Reported by: | hsin | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Other) | Version: | 4.2 |
| Severity: | Normal | Keywords: | mysql, mysqlclient, PyMySQL |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
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..
Change History (2)
comment:1 by , 3 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 3 years ago
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).
Note:
See TracTickets
for help on using tickets.
Django doesn't officially support PyMySQL but Adam Johnson has blogged about setting it up if you'd like to use that 👍