安装 MySQL Ubuntu 12.04 时出错,依赖项?

安装 MySQL Ubuntu 12.04 时出错,依赖项?

可能重复:
升级后 MySQL 服务器停止工作

我正在尝试在 Ubuntu 12.04 上安装 MySQL 5.5,但是出现以下错误:

Setting up mysql-server-5.5 (5.5.24-0ubuntu0.12.04.1) ...
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
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

我发现了类似的问题(有解决方案)这里

检查 mysqllogs 和 syslogs 是否有错误。

相关内容