我在Ubuntu 12.10服务器上运行Wordpress安装。该网站运行异常,直到我们有零星的MySQL问题,该网站将“whitescreen”几个小时,然后恢复正常。
某人不应一直在使用服务器来移除MySQL以尝试重新安装,现在mySQL拒绝重新安装。从root运行sudo apt-get install -f mysql-server
时出现以下错误。
Setting up mysql-server-5.5 (5.5.35-0ubuntu0.12.10.2) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.5
mysql-server
此外,在发生这一切之前,我无法通过套接字连接到MySQL。
我尝试过的东西,按此推荐/在其他网站上推荐:
dpkg -S etc/mysql
apt-get purge mysql-server mysql-client mysql-common mysql-client-5.5 mysql-server-5.5
apt-get auto cleans
apt-get with the -f flag
答案 0 :(得分:1)
您是否尝试通过终端/ PuTTy输入此内容?
apt-get install mysql-server mysql-client