dpkg: error processing mysql
dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured start:Jobfailedtostart invoke-rc.d:initscriptmysql,actionstartfailed. dpkg:errorprocessingmysql-server-5.5(--configure): subprocessinstalledpost-
dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured
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)
解决方法:
删除mysql前 先删除一下 /var/lib/mysql 还有 /etc/mysql
sudo rm /var/lib/mysql/ -R
sudo rm /etc/mysql/ -R
sudo apt-get autoremove mysql* --purge
sudo apt-get remove apparmor
sudo apt-get install mysql-server mysql-common
上一篇: php 过滤器实现代码_PHP教程
下一篇: 关于mysql主从复制自增长列
推荐阅读
-
dpkg: error processing mysql
-
winxp 安装MYSQL 出现Error 1045 access denied 的解决方法_MySQL
-
mysql Error Code: 1243. Unknown prepared statement handler
-
ERROR 1142 (42000):UPDATE command denied to user ''@'loca_MySQL
-
MySQL ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passw
-
MySQL添加外键失败ERROR 1452的解决_MySQL
-
ERROR 1146 (42S02): Table 'mysql.slow_log' doesn't exist
-
dpkg: error processing mysql
-
MySQL修改外键删除时操作出现error121解决办法_MySQL
-
mysql出现ERROR 1819 (HY000)的解决方法