錯(cuò)誤一:
django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")
django連接數(shù)據(jù)庫(kù)時(shí),配置存儲(chǔ)引擎
"OPTIONS":{"init_command":"SET storage_engine=INNODB;"}
如果MySQL版本過高則會(huì)報(bào)錯(cuò)
django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")
解決辦法
"OPTIONS":{"init_command":"SET default_storage_engine=INNODB;"}
參考文章:https://blog.csdn.net/pipisorry/article/details/45727309