当前位置:Gxlcms >
数据库问题 >
django中连接mysql数据库报错“django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required;”
django中连接mysql数据库报错“django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required;”
时间:2021-07-01 10:21:17
帮助过:19人阅读
if version < (1, 3, 3
):
# raise ImproperlyConfigured(
"mysqlclient 1.3.3 or newer is required; you have %s" % Database.
__version__)
重新在项目manage.py路径下执行文件迁移命令:
python manage.py makemigrations
python manage.py migrate
django中连接mysql数据库报错“django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required;”
标签:database client core ack 问题解决 描述 span color pre