![安装 mysql-server Debian 时出错](https://linux22.com/image/1386376/%E5%AE%89%E8%A3%85%20mysql-server%20Debian%20%E6%97%B6%E5%87%BA%E9%94%99.png)
我一直试图在我的 Debian 系统上安装 mysql-server,每次服务器安装 mysql-server-5.5 时,它总是会出现问题
[FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
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
Setting up mysql-client (5.5.31+dfsg-0+wheezy1) ...
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
E: Sub-process /usr/bin/dpkg returned an error code (1)