升级失败
升级过程中可能出了一些问题
SQL: INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('new_question_force_add_topic', 's:1:"N";')
错误描述: Mysqli statement execute error : Duplicate entry 'new_question_force_add_topic' for key 'varname'
如何解决可以手工执行 SQL, 如果遇到错误跳过那句 SQL 继续执行, 操作完成后继续刷新本页面, 从这里下载 SQL 文件
-----------------------------------------------------
[]执行了SQL后,如下:[/][]---------------------------------------------------[/]
-错误SQL 查询: SELECT * FROM WHERE CONCAT_WS( "-", ) = ""ORDER BY MySQL 返回: #1064 - 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 'WHERE CONCAT_WS( "-", ) = "" ORDER BY' at line 3
---------------------------------------
[]一项项的执行,最后成了[/][]------------------------------------------[/]
-
[list]
[[i]]
ALTER TABLE `aws_article_vote` ADD `reputation_factor` INT( 10 ) NULL DEFAULT '0';[/[/i]]
[/list]ALTER TABLE `aws_reputation_topic` DROP `best_answer_count`;
UPDATE `aws_system_setting` SET `value` = 's:8:"20131026";' WHERE `varname` = 'db_version';
阅读全文
收起全文