环境: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