发新话题
打印

[求助]升级数据库时出现的错误,书生帮忙进来看下

使用书生给的语法进行数据库升级后出现的问题
CREATE TABLE rd8_read8_attach (
attach_id int(6) NOT NULL auto_increment,
book_id int(10) NOT NULL default '0',
chapter_id int(10) NOT NULL default '0',
attach_date int(10) NOT NULL default '0',
attach_filename varchar(50) NOT NULL default '',
attach_filekind varchar(9) NOT NULL default '',
attach_filesize int(20) NOT NULL default '0',
attach_hits int(9) NOT NULL default '0',
PRIMARY KEY (attach_id)
) TYPE=MyISAM;
INSERT INTO rd8_read8_priv VALUES ('24', '附件下载');
INSERT INTO rd8_read8_priv VALUES ('25', '书籍打包下载');
升级错误,错误信息如下:
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 ' (attach_id)) TYPE=MyISAM' at line 1
请问该怎么做才能进行数据库升级

TOP

修正,谢谢。请重新升级。

TOP

发新话题