#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.