Ubuntu 14.04 LTS 环境下mysql-server安装遇到的问题处理
![](http://images0.cnblogs.com/blog2015/736141/201505/121314442516348.jpg)
![](http://images0.cnblogs.com/blog2015/736141/201505/121314537828469.jpg)
dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
实际上是由于mysql的手动删除是没有清除干净。
处理方法如下:
sudo rm /var/lib/mysql/ -R
sudo rm /etc/mysql/ -R
sudo apt-get autoremove mysql* --purge
sudo rm /etc/mysql/ -R
sudo apt-get autoremove mysql* --purge
然后重新安装即可
版权所有@chrisDuan 博客地址http://www.cnblogs.com/chrisDuan 可以转载,注明出处.