Django:报错django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")解决方案
程序员文章站
2022-05-19 22:13:35
...
django连接数据库时,配置
'OPTIONS': {'init_command': 'SET storage_engine=INNODB;'}
修改为
'OPTIONS': {'init_command': 'SET default_storage_engine=INNODB;'}
推荐阅读
-
django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")
-
django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")
-
django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")
-
django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")解决办法
-
【error】django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")
-
django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")
-
django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")
-
Django:报错django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")解决方案