DROP TABLE IF EXISTS `{DB_TABLE_PREFIX}broadcast`;
#[QUERY]
CREATE TABLE `{DB_TABLE_PREFIX}broadcast` (
`bid` mediumint(8) NOT NULL auto_increment,
`sortid` mediumint(8) NOT NULL default '0',
`content` varchar(255) NOT NULL default '',
`gourl` varchar(255) NOT NULL default '#',
PRIMARY KEY (`bid`)
) TYPE=MyISAM {setCharset} AUTO_INCREMENT=1 ;
#[QUERY]
DROP TABLE IF EXISTS `{DB_TABLE_PREFIX}items`;
#[QUERY]
CREATE TABLE `{DB_TABLE_PREFIX}items` (
`itemid` mediumint(8) unsigned NOT NULL auto_increment,
`uid` mediumint(8) unsigned NOT NULL default '0',
`account` varchar(15) NOT NULL default '',
`content` varchar(255) NOT NULL default '',
`dateline` int(10) unsigned NOT NULL default '0',
`digg` mediumint(8) unsigned NOT NULL default '0',
`reply` mediumint(5) unsigned NOT NULL default '0',
PRIMARY KEY (`itemid`),
KEY `uid` (`uid`)
) TYPE=MyISAM {setCharset} AUTO_INCREMENT=1 ;
#[QUERY]
DROP TABLE IF EXISTS `{DB_TABLE_PREFIX}reply`;
#[QUERY]
CREATE TABLE `{DB_TABLE_PREFIX}reply` (
`rid` mediumint(8) NOT NULL auto_increment,
`replyto` mediumint(8) unsigned NOT NULL default '0',
`uid` mediumint(8) NOT NULL default '0',
`account` varchar(15) NOT NULL default '',
`content` varchar(255) NOT NULL default '',
`dateline` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`rid`),
KEY `uid` (`uid`),
KEY `replyto` (`replyto`)
) TYPE=MyISAM {setCharset} AUTO_INCREMENT=1 ;
#[QUERY]
DROP TABLE IF EXISTS `{DB_TABLE_PREFIX}setting`;
#[QUERY]
CREATE TABLE `{DB_TABLE_PREFIX}setting` (
`setname` varchar(255) NOT NULL default '',
`data` text NOT NULL,
PRIMARY KEY (`setname`)
) TYPE=MyISAM {setCharset} ;
我嘗試導入該MySQL數據庫,並收到此錯誤SQL {} setCharset AUTO_INCREMENT =第1' 行1
您的SQL語法錯誤;檢查手冊中 對應於你的MySQL服務器版本正確的語法使用 附近「{} setCharset AUTO_INCREMENT = 1」在行1
難道我錯過了什麼?請幫助我!
MySQL和/或MS SQL Server?不要標記不涉及的產品。 – jarlh