django migrat mysql version error

django3 需要mysql版本至少5.6以下,升级mysql版本解决。

django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table ((1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version fo
r the right syntax to use near '(6) NOT NULL)' at line 1"))

 

上一篇:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version


下一篇:shell脚本syntax error near unexpected token `done'