About Ubuntu installed MySQL, removed again apt-get install error problem

Source: Internet
Author: User

The Apt-get install is installed online, but the problem arises:

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):
Many related posts have been found online, most of them say:

View network Configuration
Auto Lo
Iface Lo inet Loopback

I did a bit of research on my configuration. The problem is that I deleted it manually. The solution is as follows:

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

Then reinstall, everything OK

(Why not install mysql-client 5.6, rely too much, too lazy to get)

About Ubuntu installed MySQL, removed again apt-get install error problem

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.