您的 SQL 语法有错误;检查与您的 MySQL 服务器版本相对应的手册,了解在第 1 行 'charset utf8 not null auto_increment index key, toId
int(11) charset utf8 not ' at line 1
我在使用 SQLBuddy 接口(interface)创建表时遇到此错误..
follows:
id (primary key, autoincrement,utf8) - int(11)
toId (utf8) - int(11)
fromId (utf8) - int(11)
问题是:为什么?
最佳答案
您可以从 3 个 int
列中删除“utf8”设置吗?
关于mysql - SQL好友: you have an error in your SQL syntax;,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9508636/