Linux under rpm Uninstall install MySQL appears specifies multiple packages

Source: Internet
Author: User

Because the Alibaba cloud server is used, so check the MySQL version of the server to discover or 5.0.6 version, so want to upgrade under MySQL

grep -I. mysql

Then you want to uninstall MySQL, a single uninstall followed by the use of parameters--allmatche Uninstall after the prompt as follows:

-E mysql-5.0. 5-e-allmatches mysql-5.0. 5. El5_9

Then, follow the prompts to unload the relevant packages in turn:

RPM-E mysql-server-5.0. 5/var/log/mysqld.log saved as/var/log/perl-dbd-mysql-3.0007 -2/etc/my.cnf saved As/etc/my.cnf.rpmsave

Finally, check the relevant MySQL package

grep -i mysqlmysql-shared-5.6. 1. LINUX_GLIBC2. 5

Then all the packages are unloaded, you can install the new version of MySQL

RPM-IVH mysql-server-5.6. 1. LINUX_GLIBC2. 5. x86_64-2

Tip Error:unpacking of archive failed on File/usr/sbin/mysqld;557e5743:cpio:read

Error, the original is the installation package problem, view the CentOS version found

Lsb_release-a

? I should download the version of mysql-server-5.6.25-1.rhel5.x86_64.rpm RETHAT5

And then it all went smoothly.

Linux under rpm Uninstall install MySQL appears specifies multiple packages

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.