利用DiscuzEXP5.0.0转换后的数据,在本机上Discuz论坛正常运行,通过后台将数据导出后,将导出数据放到服务器上,再在服务器上的论坛后台导入就出问题了啊。
问题1:
Discuz! info: MySQL Query Error
User: admin
Time: 2006-10-19 7:16pm
Script: /admincp.php
SQL: SET NAMES 'gbk'
Error: Unknown system variable 'NAMES'
Errno.: 1193
把SET NAMES 'gbk'删掉后,再导,又提示下边的错误
Discuz! info: MySQL Query Error
User: admin
Time: 2006-10-19 7:22pm
Script: /admincp.php
SQL: CREATE TABLE `cdb_access` ( `uid` mediumint(8) unsigned NOT NULL default '0', `fid` smallint(6) unsigned NOT NULL default '0', `allowview` tinyint(1) NOT NULL default '0', `allowpost` tinyint(1) NOT NULL default '0', `allowreply` tinyint(1) NOT NULL default '0', `allowgetattach` tinyint(1) NOT NULL default '0', `allowpostattach` tinyint(1) NOT NULL default '0', PRIMARY KEY (`uid`,`fid`)) ENGINE=MyISAM DEFAULT CHARSET=gbk
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' at line 1
Errno.: 1064
让我检查mysql的版本吗?
高人快来指点一下吧 |