大家好,我遇到一个问题希望大家帮我,在我从3.11升级3.12的时候提示如下错误,
SQL: INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('ucenter_path', 's:0:"";')
错误描述: Mysqli statement execute error : Duplicate entry 'ucenter_path' for key 'varname'
然后在数据库里执行如下代码也不成功
------------------------------------------
INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('ucenter_path', 's:0:"";'); UPDATE `aws_system_setting` SET `value` = 's:8:"20150316";' WHERE `varname` = 'db_version';
------------------------数据库里返回的信息,
错误
SQL 查询:
INSERT INTO `aws_system_setting` ( `varname` , `value` )
VALUES ('ucenter_path', 's:0:"";'
);
MySQL 返回: [文档]#1062 - Duplicate entry 'ucenter_path' for key 'varname'
----------------
请教大家应该怎么解决呀
阅读全文
收起全文