Linux upgrade MySQL hints conflicts with file from package workaround

Source: Internet
Author: User

First found the incompatible package, so we want to remove the conflicting libs package, and then go to install!

The code is as follows Copy Code

RPM-E--nodeps mysql-5.0.95-5.el5_9.x86_64

or use

Yum-y Remove mysql-libs-5.0.95*

Then we can install mysql5.1.

RPM-IVH mysql-5.1.58-jason.1.i386.rpm

Not recommended installation mysql5.5, the first team program compatibility is not very good, team CentOS compatibility is not very good!
There is a VPS in front of the test will appear the program is incompatible! Webmin configuration is a good tool, the configuration is not good garbage!
If the database does not start or is wrong in the configuration, you can go to the following article to see:


Unable to use workaround after upgrading MySQL

Inserting mysql.servers tables with SQL statements
Solve problems that cannot be created for databases/users.
Webmin the database is backed up with an error prompt, but the SQL file is still generated.
Can modify the above ssh without MySQL:


Workaround 2:

SSH Text Operation method

The code is as follows Copy Code

Mysql_upgrade-u root-p "Mysql-root's password"

Such as:

Mysql_upgrade-uroot-p 123456

Completely solved!!

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.