Django使用MySQL数据库出现版本兼容问题
其他
2020-01-17 14:35:48
阅读次数: 0
提示语:raise MigrationSchemaMissing("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 that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL)' at line 1"))
第一个python与Django的兼容关系
1.python2.7支持到2020年,现在python已发展到了3.8.0
2.Django2.0后均不再支持python2
3.Django2.0是最后一个支持python3.4的版本,今后都要升级3.6+
4.所以目前开发学习最好用Django2.1
第二个Django与MySQL的兼容关系
1.Django1好像无所谓
2.Django2.1不再支持MySQL5.5,必须5.6版本以上
3.Django2.0支持全系列MySQL
发布了46 篇原创文章 ·
获赞 15 ·
访问量 1万+
转载自blog.csdn.net/qq_24601279/article/details/103382599