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