升级 Discuz! X3.4 【20220131】时升级表 pre_forum_post_1 出错
2005年的Discuz!一路升级,这次想升级至X3.4,却出现问题,请高手指导。执行 update.php 时,在
http://www.xxx.xxx/install/update.php?step=sql&i=163&specid=1时出错,显示:
升级表 pre_forum_post_1 出错,请手工执行以下升级语句后,再重新运行本升级程序:
升级SQL语句:<div style="line-height: 1.5em; word-break: break-all; background: rgb(235, 235, 235); padding: 0.5em;">ALTER TABLE pre_forum_post_1 CHANGE `fid` `fid` mediumint(8) unsigned NOT NULL DEFAULT '0', CHANGE `tid` `tid` mediumint(8) unsigned NOT NULL DEFAULT '0', CHANGE `replycredit` `replycredit` int(10) NOT NULL DEFAULT '0', CHANGE `position` `position` int(8) unsigned NOT NULL AUTO_INCREMENT</div><b style="line-height: 1.5em; word-break: break-all;">Error</b>: Duplicate entry '192655-4294967295' for key 'PRIMARY'<b style="line-height: 1.5em; word-break: break-all;">Errno.</b>: 1062
请老师指导!!! 重复一下出现问题时的现场:
升级表 pre_forum_post_1 出错,请手工执行以下升级语句后,再重新运行本升级程序:升级SQL语句:ALTER TABLE pre_forum_post_1 CHANGE `fid` `fid` mediumint(8) unsigned NOT NULL DEFAULT '0', CHANGE `tid` `tid` mediumint(8) unsigned NOT NULL DEFAULT '0', CHANGE `replycredit` `replycredit` int(10) NOT NULL DEFAULT '0', CHANGE `position` `position` int(8) unsigned NOT NULL AUTO_INCREMENTError: Duplicate entry '192655-4294967295' for key 'PRIMARY'Errno.: 1062 本帖有误,已经重新发过,请稳步到:https://www.dismall.com/thread-12001-1-1.html 本帖有误,已经重新发过,请移步到:https://www.dismall.com/thread-12001-1-1.html
页:
[1]