After the Ubuntu 14 update MySQL does not start after the violent recovery

Source: Internet
Author: User

---------------Problem error message------------------------------------------

Reference:

An error occurred while processing:
mysql-server-5.5
Mysql-server
E:sub-process/usr/bin/dpkg returned an error code (1)

-----------Lanchpad The bug information and the corresponding solution, personally feel a bit cumbersome-----
1. Bugs that have been confirmed
Https://bugs.launchpad.net/ubuntu/+sour ... ug/1244424
2. Proposed temporary solution
Https://bugs.launchpad.net/ubuntu/+sour ... Comments/4
3. Suggestions
Continue to track this Bug

-----------Brute Force repair command line-------------------------------------------------

sudo rm/var/lib/mysql/-R
sudo rm/etc/mysql/-R
sudo apt-get autoremove mysql*--purge//The first execution may go wrong and the second execution will be OK
sudo apt-get remove AppArmor
sudo apt-get install mysql-server Mysql-common mysql-client

After the Ubuntu 14 update MySQL does not start after the violent recovery

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.