ADJ網路實驗室
打印

[介紹] 安裝 MySQL 5.6 on CentOS 6.x

安裝 MySQL 5.6 on CentOS 6.x

最近由於公司 MySQL Server 需要用到全文索引的功能...這個只有 MySQL 5.6的版本才有..
所以安裝方式如下:

環境: CentOS 6.5 64bit

Step 1: Install yum repo rpm package.
# rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm

Step 2: Now install the mysql server by using yum command.
# yum install mysql-server

Step 3: After installation start the mysql server
# service mysqld start

Step 4: Because the MySQL server is just installed it has blank mysql root password.
To reset the mysql root password.

# mysql_secure_installation

查詢 MySQL 版本:
# mysql -V
引用:

mysql  Ver 14.14 Distrib 5.6.19, for Linux (x86_64) using  EditLine wrapper


這樣就正確啦~~





TOP

ARTERY.cn