Discuz! info: MySQL Query Error
User: uuloo
Time: 2006-11-26 12:14am
Script: /admincp.php
SQL: CREATE TABLE `cdb_sessions` ( `sid` char(6) character set gbk collate gbk_bin NOT NULL default '', `ip1` tinyint(3) unsigned NOT NULL default '0', `ip2` tinyint(3) unsigned NOT NULL default '0', `ip3` tinyint(3) unsigned NOT NULL default '0', `ip4` tinyint(3) unsigned NOT NULL default '0', `uid` mediumint(8) unsigned NOT NULL default '0', `username` char(15) NOT NULL default '', `groupid` smallint(6) unsigned NOT NULL default '0', `styleid` smallint(6) unsigned NOT NULL default '0', `invisible` tinyint(1) NOT NULL default '0', `action` tinyint(1) unsigned NOT NULL default '0', `lastactivity` int(10) unsigned NOT NULL default '0', `lastolupdate` int(10) unsigned NOT NULL default '0', `pageviews` smallint(6) unsigned NOT NULL default '0', `seccode` smallint(6) unsigned NOT NULL default '0', `fid` smallint(6) unsigned NOT NULL default '0', `tid` mediumint(8) unsigned NOT NULL default '0', `bloguid` mediumint(8) unsigned NOT NULL default '0', UNIQUE KEY `sid` (`sid`), KEY `uid` (`uid`), KEY `bloguid` (`bloguid`)) ENGINE=HEAP DEFAULT CHARSET=gbk MAX_ROWS=65535
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 'collate gbk_bin NOT NULL default '', `ip1` tinyint(3) unsigned
Errno.: 1064 |