后台打不开,提醒(1062) Duplicate entry '1
怎么办?用tools工具修复提醒:Table is marked as crashed and last repair failed
后台打不开,提醒:
Discuz! Database Error(1062) Duplicate entry '1-1' for key 'PRIMARY'INSERT INTO common_admincp_session SET `uid`='1' , `adminid`='1' , `panel`='1' , `ip`='171.215.142.178' , `dateline`='1361165432' , `errorcount`='0'
PHP Debug
No.FileLineCode1admin.php29discuz_admincp->init()2source/class/discuz/discuz_admincp.php60discuz_admincp->check_cpaccess()3source/class/discuz/discuz_admincp.php140discuz_table->insert(Array)4source/class/discuz/discuz_table.php76discuz_database::insert(%s, Array, false, false, false)5source/class/discuz/discuz_database.php60discuz_database::query(%s, %s, %s, true)6source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, %s, true)7source/class/db/db_driver_mysql.php151db_driver_mysql->halt(%s, %d, %s)8source/class/db/db_driver_mysql.php218break() key出错!也就是说配置文件没更新好!
重新配置一下! 请问怎么配置? dzx配置文件
configconfig_global.php
configconfig_ucenter.php
uc_serverdataconfig.inc.php 需要配置哪些内容? 三个文件中的相关信息的统一! 还是打不开,又变成:
(1030) Got error 134 from storage engine
SELECT * FROM common_admincp_session WHERE uid=1 AND panel=1
这个了。 这是服务器数据表挂了吧,可以用mysql提供的 myisamchk
-e 检查表 -q -r 快速修复表 。如果 -q -r 修复不了用 -o 修复
试一下哈!
页:
[1]