check the manual that corresponds to your MySQL server version for the right syntax to use near '..'

来源:互联网 发布:用友代理记账软件 编辑:程序博客网 时间:2024/05/23 11:35
[School InFormatization -->]-->ERROR{SchemaUpdate.java:212}-Unsuccessful: create table group (id bigint not null auto_increment, createTime datetime, updateTime datetime, primary key (id)) ENGINE=InnoDB
  [School InFormatization -->]-->ERROR{SchemaUpdate.java:213}-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 (
        id bigint not null auto_increment,
        createTime datetime,

' at line 1


原因是因为group是关键字属性,group换个名字后就好了。

一定要记住这一点,关键字是不能做表名的!!!

0 0