这是代码:
create table `team`.`User`(
`UserID` bigint NOT NULL AUTO_INCREMENT ,
`Username` text(30) NOT NULL ,
`Email` text(30) NOT NULL ,
PRIMARY KEY (`UserID`)
) Engine= [default] comment='' row_format=Default
和错误信息:
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
'[default] comment='' row_format=Default' at line 6
有人能告诉我为什么我会收到这个错误以及如何解决它吗?
编辑:此代码由 SQLyog 自动生成。似乎是引擎位导致了问题。有谁知道如何使用 SQLyog 设置默认引擎?