1. MySQL 5.6.32 64-bit installation package download
Download the MySQL 5.6.32 64-bit installation package download in the official website http://dev.mysql.com/downloads/mysql/5.6.html#:
650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/86/95/ Wkiol1fewd6xpybjaabrxmhches013.png "" 669 "height=" 371 "/>
(Http://cdn.mysql.com//Downloads/MySQL-5.6/MySQL-5.6.32-1.linux_glibc2.5.x86_64.rpm-bundle.tar)
2. Pass the download file through Securefx to the/usr/local/src/directory (the IP of the virtual host CentOS7.2 is: 192.168.1.11)
650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/86/95/ Wkiol1fewd-qqdm3aafpio9orqw062.png "" 913 "height=" 705 "/>
3, unzip the file.
cd/usr/local/src/
[Email protected] src]# tar xvf mysql-5.6.32-1.linux_glibc2.5.x86_64.rpm-bundle.tar
mysql-shared-compat-5.6.32-1.linux_glibc2.5.x86_64.rpm
mysql-client-5.6.32-1.linux_glibc2.5.x86_64.rpm
mysql-shared-5.6.32-1.linux_glibc2.5.x86_64.rpm
mysql-server-5.6.32-1.linux_glibc2.5.x86_64.rpm
mysql-devel-5.6.32-1.linux_glibc2.5.x86_64.rpm
mysql-test-5.6.32-1.linux_glibc2.5.x86_64.rpm
mysql-embedded-5.6.32-1.linux_glibc2.5.x86_64.rpm
4. Check if the system has MySQL installed, using the command:
[Email protected] src]# Rpm-qa | grep MySQL
Mysql-connector-odbc-5.2.5-6.el7.x86_64
To uninstall the installed MySQL, uninstall the MySQL command as follows:
[Email protected] src]# rpm-e--nodeps mysql-connector-odbc-5.2.5-6.el7.x86_64
Remove all files under the/var/lib/mysql folder cleanly.
5. Install the server and client using the following command:
[Email protected] src]# RPM-IVH mysql-server-5.6.32-1.linux_glibc2.5.x86_64.rpm
[Email protected] src]# RPM-IVH mysql-client-5.6.32-1.linux_glibc2.5.x86_64.rpm
6. Use the following command to view the current MySQL status:
CentOS7.2 installing MySQL 5.6.32 on a virtual machine