A solution to MySQL version conflict in Linux

Source: Internet
Author: User

A solution to MySQL version conflict in Linux
Zookeeper

The following error occurs when installing the MySQL service:

 

The version to be installed is 5.1.45, and 5.0.22 has been installed before:

MySQL conflicts withmysql-5.0.22-2.1.0.1.i386

MySQL-server conflicts with mysql-server-5.0.22-2.1.0.1.i386

UseRpm-e-nodeps mysql-5.0.22-2.1.0.1,Delete a previous version, if the mysql-server-5.0.22-2.1.0.1.i386 is not deleted, a version conflict is still prompted, for example, you can use the same command to delete the mysql-server-5.0.22-2.1.0.1.i386 to install, such:

 

After the MySQL service is installed, the service is automatically enabled by default.Ps-ef | grep mysqlCommand to see that the process proves that the service has been started, useRpm-qa | grep MySQL (case sensitive)You can see the installed package, such:

Install the client as follows:

After installation, input mysql to output the above information to prove that the installation is successful.

 

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.