I'm getting an error when running my project in Django. The problem is that unfortunately I upgraded my pip, MySQL client and Django versions
This is an error when running python manage.py run server
in check_database_version_supported raise NotSupportedError( django.db.utils.NotSupportedError: MariaDB 10.3 or later is required (found 10.1.19).
You installed the MariaDB-10.1.19 client on your MySQL server, and your application discovered that 10.1.19. As indicated in the error, you need to have MariaDB 10.3 or higher. You can upgrade MariaDB to
mariadb-10.x.x
tomysql
xampp
directory in theC:
drive and change the mysql folder name tomysql_old
xampp
directory.mysql_old
directory and copy thebackups
folder,scripts
folder,mysqlinstallservice
file,mysqluninstallservice
file and paste it into themysql
folder.bin
folder inmysql_old
and copy themy
file to thebin
folder.file in
mysql Foldermy
file in mysql, addskip-grant-tables
before#skip-federated
, and delete this line innodb_additional_mem_pool_size = 2M, then save the file.mysql_upgrade
in thebin
folder and run it.data
folder in themysql
folder todata_new
, and then change the file name from thedata
folder Copy thedata
folder in code>mysql_old folder to themysql
folder.xampp
control panel and start theapache
server andmysql
.Now that MariaDB has been updated, the issue will be resolved.