[Django] #36891: What is the recommended database driver for python 3.14 and MariaDB & MySQL, is mysqlclient and of life?

1 view
Skip to first unread message

Django

unread,
Jan 29, 2026, 3:51:24 AM (23 hours ago) Jan 29
to django-...@googlegroups.com
#36891: What is the recommended database driver for python 3.14 and MariaDB &
MySQL, is mysqlclient and of life?
--------------------------+-----------------------------------------
Reporter: stephanm | Type: Uncategorized
Status: new | Component: Uncategorized
Version: 6.0 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------+-----------------------------------------
In https://docs.djangoproject.com/en/6.0/ref/databases/#mysql-db-api-
drivers
mysqlclient is the recommended choice for MariaDB and MySQL.

On https://www.djangoproject.com/download/ you recommend to use the latest
version of Python.

Python 3.14.2 has landed and 3.14.3 will land in the next days on
2026-02-03, so it has already got some bugfixes and real life feedback.

Now if I look in https://pypi.org/project/mysqlclient/#files the last
release is dated 2025-01-10, so it's over one year old.
Actually I use python 3.13.11 on windows 64bit with mysqlclient:
`mysqlclient-2.2.7-cp313-cp313-win_amd64.whl`

Actually there are no binary wheels for python 3.14 .

I looked also on https://github.com/PyMySQL/mysqlclient/commits/main/
seeing that the last commit was on 2025-02-23.

So it looks like that this project has stopped development, even if did
not find any statement about this.

My questions are:
1. Are you aware of this situation (or did you perhaps talk to the
mysqlclient developer)?
2. What is your official recommended database driver choice for MariaDB /
MySQL for python 3.14?
3. If you can answer to 2.), can you please update the documentation?

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

Django

unread,
Jan 29, 2026, 3:52:35 AM (23 hours ago) Jan 29
to django-...@googlegroups.com
#36891: What is the recommended database driver for python 3.14 and MariaDB &
MySQL, is mysqlclient and of life?
-------------------------------+--------------------------------------
Reporter: stephanm | Owner: (none)
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 6.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by stephanm:

Old description:

> In https://docs.djangoproject.com/en/6.0/ref/databases/#mysql-db-api-
> drivers
> mysqlclient is the recommended choice for MariaDB and MySQL.
>
> On https://www.djangoproject.com/download/ you recommend to use the
> latest version of Python.
>
> Python 3.14.2 has landed and 3.14.3 will land in the next days on
> 2026-02-03, so it has already got some bugfixes and real life feedback.
>
> Now if I look in https://pypi.org/project/mysqlclient/#files the last
> release is dated 2025-01-10, so it's over one year old.
> Actually I use python 3.13.11 on windows 64bit with mysqlclient:
> `mysqlclient-2.2.7-cp313-cp313-win_amd64.whl`
>
> Actually there are no binary wheels for python 3.14 .
>
> I looked also on https://github.com/PyMySQL/mysqlclient/commits/main/
> seeing that the last commit was on 2025-02-23.
>
> So it looks like that this project has stopped development, even if did
> not find any statement about this.
>
> My questions are:
> 1. Are you aware of this situation (or did you perhaps talk to the
> mysqlclient developer)?
> 2. What is your official recommended database driver choice for MariaDB /
> MySQL for python 3.14?
> 3. If you can answer to 2.), can you please update the documentation?
>
> Thanks :-)

New description:

In https://docs.djangoproject.com/en/6.0/ref/databases/#mysql-db-api-
drivers
mysqlclient is the recommended choice for MariaDB and MySQL.

On https://www.djangoproject.com/download/ you recommend to use the latest
version of Python.

Python 3.14.2 has landed and 3.14.3 will land in the next days on
2026-02-03, so it has already got some bugfixes and real life feedback.

Now if I look in https://pypi.org/project/mysqlclient/#files the last
release is dated 2025-01-10, so it's over one year old.
Actually I use python 3.13.11 on windows 64bit with mysqlclient:
`mysqlclient-2.2.7-cp313-cp313-win_amd64.whl`

Actually there are no binary wheels for python 3.14 .

I looked also on https://github.com/PyMySQL/mysqlclient/commits/main/
seeing that the last commit was on 2025-02-23.

So it looks like that this project has stopped development, even if I did
not find any statement about this.

My questions are:
1. Are you aware of this situation (or did you perhaps talk to the
mysqlclient developer)?
2. What is your official recommended database driver choice for MariaDB /
MySQL for python 3.14?
3. If you can answer to 2.), can you please update the documentation?

Thanks :-)

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

Django

unread,
Jan 29, 2026, 6:24:05 AM (20 hours ago) Jan 29
to django-...@googlegroups.com
#36891: What is the recommended database driver for python 3.14 and MariaDB &
MySQL, is mysqlclient and of life?
-------------------------------+--------------------------------------
Reporter: stephanm | Owner: (none)
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 6.0
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Jacob Walls):

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

Comment:

Hi, it would be better to raise this with the MySQLClient maintainers.
3.14 has only been out for a few months, so I wouldn't be surprised if
some OSS projects with more of a yearly release cadence don't have wheels
yet.
--
Ticket URL: <https://code.djangoproject.com/ticket/36891#comment:2>
Reply all
Reply to author
Forward
0 new messages