注册 登录
编程论坛 MySQL论坛

请问这个语句出现了什么错误?(含错误提示)

zhangstones 发布于 2006-04-14 01:00, 1570 次点击
C:\>mysql -u snort snort < "C:\Program Files\MySQL\MySQL Server 5.0\bin\create_m
ysql"
ERROR 1064 (42000) at line 23: You have an error in your SQL syntax; check the m
anual that corresponds to your MySQL server version for the right syntax to use
near 'schema ( vseq INT UNSIGNED NOT NULL,
ctime ' at line 1

该脚本的错误行为:
CREATE TABLE schema ( vseq INT UNSIGNED NOT NULL,
ctime DATETIME NOT NULL,
PRIMARY KEY (vseq));

请问哪里出错了呢?我还不熟悉MySQL,这个脚本是用于3.X版本的。
谢谢各位,有点急哦
1 回复
#2
zhangstones2006-04-14 01:01
哦对了,该脚本其余部分都能顺利执行,就是这个schema表无法建立,用show tables 看到唯独缺少此表。
1