Discuz! info: MySQL Query Error
User: admin
Time: 2006-11-21 8:33pm
Script: /admincp.php
SQL: CREATE TABLE `cdb_announcements` ( `id` smallint(6) unsigned NOT NULL auto_increment, `author` varchar(15) NOT NULL default '', `subject` varchar(250) NOT NULL default '', `redirect` tinyint(1) NOT NULL default '0', `displayorder` tinyint(3) NOT NULL default '0', `starttime` int(10) unsigned NOT NULL default '0', `endtime` int(10) unsigned NOT NULL default '0', `message` text NOT NULL, PRIMARY KEY (`id`), KEY `timespan` (`starttime`,`endtime`)) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=gbk AUTO_INCREMENT=4
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=4' at line 1
Errno.: 1064
改了好几次了,现在是这个问题 |