[ERR] 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 ……

创建数据库的时候出现了一个问题:

[ERR] 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 'group varchar(255)
)' at line 9

开始以为sql语句的字符打错了,检查后发现原来是有一个字段用的是“group”,与sql的关键词冲突了,所以才会报错。

posted @ 2020-09-02 13:41  Big_Fundamental  阅读(536)  评论(0编辑  收藏  举报