Opened 2 hours ago

Last modified 2 hours ago

#36891 new Uncategorized

What is the recommended database driver for python 3.14 and MariaDB & MySQL, is mysqlclient and of life?

Reported by: stephanm Owned by:
Component: Uncategorized Version: 6.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by stephanm)

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 :-)

Change History (1)

comment:1 by stephanm, 2 hours ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top