((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"))

参考网址:https://www.cnblogs.com/aidenzdly/p/11002506.html

原因:django2.1及其以后版本不再支持数据库5.5

解决办法是:更换了Django版本号,或者mysql版本号。

数据库换成8版本的即可

原文地址:https://www.cnblogs.com/jingzaixin/p/13585598.html