"Unable to create the django_migrations table (%s)"
环境:python3 + django2.1 +pycharm +mysql
执行python manage.py migrate时报错如下
“Unable to create the django_migrations table (%s)” % exc
django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table ((1064, “You have an error in your SQL syntax; check the manual t
hat corresponds to your MySQL server version for the right syntax to use near ‘(6) NOT NULL)’ at line 1”))
原因:django2.1 版本不再支持mysql5.5
via.https://blog.csdn.net/m0_37584649/article/details/81532412
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »
因本文不是用Markdown格式的编辑器书写的,转换的页面可能不符合AMP标准。