標籤:迅雷下載 虛擬機器 blank target title
1、MySQL 5.6.32 64位安裝包下載
在官網http://dev.mysql.com/downloads/mysql/5.6.html#中使用迅雷下載MySQL 5.6.32 64位安裝包下載:
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、把下載檔案通過SecureFX傳遞到/usr/local/src/目錄中(虛擬機器主機CentOS7.2的IP為: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、解壓檔案.
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、查看系統是否安裝了MySQL,使用命令:
[[email protected] src]# rpm -qa | grep mysql
mysql-connector-odbc-5.2.5-6.el7.x86_64
卸載已安裝的MySQL,卸載mysql命令如下:
[[email protected] src]# rpm -e --nodeps mysql-connector-odbc-5.2.5-6.el7.x86_64
將/var/lib/mysql檔案夾下的所有檔案都刪除乾淨。
5、使用如下命令安裝Server和Client:
[[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、使用如下命令查看當前mysql的狀態:
CentOS7.2虛擬機器上安裝MySQL 5.6.32