Django.db.utils.NotSupportedError: MariaDB 10.11 or later is required (found 10.6.22)

After upgrading to Django 6.1, from version 5.2.7, when I start my Django app I have the following error :

django.db.utils.NotSupportedError: MariaDB 10.11 or later is required (found 10.6.22)

I have python 3.14, mariadb 12.3.3, Django 6.1, mysqlclient 2.2.8.

Just to be sure I have created a new virtual env to have all dependencies up-to-date.

I am on macos, using mariadb with homebrew. What am I missing ? Where does it find this version 10.6.22 ?

With this django removed support for 10.6 and make a hard dependency on 10.11+, in its version check, and the MariaDB server features it uses.

Django retrieves the version from a SELECT VERSION() from the server.

While its possible to fake this version as a configuration item its most likely that the you have both 10.6 and 12.3 installed and are connecting to the wrong one.

Note; MariaDB just released their last ever 10.6 release, upgrades to maintained versions are recommended.

Вернуться на верх