altis 2014-6-26 21:47
安裝 MySQL 5.6 on CentOS 6.x
最近由於公司 MySQL Server 需要用到全文索引的功能...這個只有 MySQL 5.6的版本才有..<div>所以安裝方式如下:</div><div><br></div><div>環境: CentOS 6.5 64bit <br><br><font color="DarkGreen" size="3">Step 1: Install yum repo rpm package.</font><br># rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm<br><br><font color="DarkGreen" size="3">Step 2: Now install the mysql server by using yum command.</font><br># yum install mysql-server<br><br><font color="DarkGreen" size="3">Step 3: After installation start the mysql server</font><br># service mysqld start<br><br><font color="DarkGreen" size="3">Step 4: Because the MySQL server is just installed it has blank mysql root password. <br>To reset the mysql root password.</font><br># mysql_secure_installation<br><br>查詢 MySQL 版本:<br># mysql -V<br>[quote]<br>mysql Ver 14.14 Distrib 5.6.19, for Linux (x86_64) using EditLine wrapper<br>[/quote]<br><br>這樣就正確啦~~<br></div>