Solution to MySQL installation failure under RHEL6

Source: Internet
Author: User

Environment:

RHEL6 + MySQL-server-5.5.18-1.el6.i686 + MySQL-client-5.5.18-1.el6.i686

Problem:

Directly download the package and use RPM for installation. An error is displayed. Run rpm = pa | grep mysql * to check whether MYSQL has been installed. Uninstall the package decisively, but a dependency is displayed.

Solution:

1. Violence Law

Install it directly, but add -- force after the installation command to force installation. In fact, this is not recommended, which may cause unstable environment, but you can try it in a personal test.

2. Uninstall dependent Software

The method is to uninstall the dependent software first (my software is postfix, but other software dependencies are prompted when I try to uninstall it, so I gave up ~ When is the head? And this may also cause large-area problems)

3. Compile the source code for installation [recommended]

For security.

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.