导入备份好的数据库报错,真是晕啊,详情如下:
错误信息如下:
Discuz! info: MySQL Query Error
Time: 2005-10-23 11:46am
Script: /bbs/restore.php
SQL: CREATE TABLE cdb_sessions ( sid char(6) character set latin1 collate latin1_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', fid smallint(6) unsigned NOT NULL default '0', tid mediumint(8) unsigned NOT NULL default '0', KEY sid (sid)) TYPE=HEAP MAX_ROWS=50000
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 latin1_bin NOT NULL default '', ip1 tinyint(3) unsigne
Errno.: 1064
An error report has been dispatched to our administrator.
我一共备份了30卷,导入最后一卷报错,555555555 |