链接mysql出问题了
来源:2-8 资源获取方式和提问方式
赵日天l
2017-09-25
setting的DATABASE里面加了这句话'OPTIONS': {'init_command': 'SET storage_engine=INNODB mysql5.0+;'}后就报错django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")怎么解决啊
写回答
2回答
-
若鸟
2017-09-26
先注释这一行,以后会讲到,再添加上
10 -
精慕门3810831
2017-11-13
This is not an issue with the driver.
From the 5.6 docs: default_storage_engine should be used in preference to storage_engine, which is deprecated.
Django itself doesn't use storage_engine, but you might have it in the OPTIONS dict of your DATABASES settings.00
Python前后端分离开发Vue+Django REST framework实战
Django REST framework课程视频,RESTFul API前后端分离开发
2873 学习 · 2457 问题
相似问题