请看看,什么原因?请高手指教,谢谢!
Discuz! info: MySQL Query Error
User: admin
Time: 2006-10-3 6:03pm
Script: /admincp.php
SQL: CREATE TABLE `cdb_advertisements` ( `advid` mediumint(8) unsigned NOT NULL auto_increment, `available` tinyint(1) NOT NULL default '0', `type` varchar(50) NOT NULL default '0', `displayorder` tinyint(3) NOT NULL default '0', `title` varchar(50) NOT NULL default '', `targets` varchar(255) NOT NULL default '', `parameters` text NOT NULL, `code` text NOT NULL, `starttime` int(10) unsigned NOT NULL default '0', `endtime` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`advid`)) ENGINE=MyISAM DEFAULT CHARSET=gbk AUTO_INCREMENT=1
Error: 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 'DEFAULT CHARSET=gbk AUTO_INCREMENT=1' at line 1
Errno.: 1064 |