This error message indicates that the version of MariaDB installed on your system is not supported by the Django version you are using. Django requires MariaDB 10.4 or later, but your system has version 10.3.38.

To resolve this issue, you can either upgrade your MariaDB version to 10.4 or later, or you can downgrade your Django version to a version that is compatible with your current MariaDB version.

To upgrade your MariaDB version, you can follow the instructions provided by your operating system or by the MariaDB documentation.

To downgrade your Django version, you can use pip to uninstall the current version and install an older version. For example, if you are currently using Django 3.2, you can uninstall it using the following command:

pip uninstall Django

And then install Django 3.1, which is compatible with MariaDB 10.3, using the following command:

pip install Django==3.1

Note that downgrading Django may cause compatibility issues with other dependencies or features of your application, so it is recommended to upgrade MariaDB if possible.

Django MariaDB 版本不兼容错误:解决方法

原文地址: https://www.cveoy.top/t/topic/opfQ 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录