ITeye博客

mysql版本不同所导致SQL语句执行错误的问题

青春的、脚步 · 2012-03-21 16:42 · Markdown

TYPE=InnoDB;是旧版本的

在新版本执行时会出现

[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 'TYPE=InnoDB' at line 12

解决方法:ENGINE=InnoDB改为ENGINE=InnoDB

ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

okay

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。