How to install MySQL5.6 from the MySQL official Yum repository first we need to download the Yum warehouse file from the MySQL developer website, Download MySQL Yum Repositorydownload from the above connection address:
Red Hat Enterprise linux 6/oracle Linux 6 (Architecture Independent), RPM package, click to download
When the download is complete, import the Yum library to your local:
sudo yum localinstall mysql-community-release-el6-5. noarch.rpm
Install MySQL official tutorial: http://dev.mysql.com/doc/refman/5.6/en/linux-installation-yum-repo.html
mysql-community-release-el6-5.noarch.rpm This yum library contains MySQL Server,mysql Workbench management tools and ODBC drivers, You can now simply install MySQLServer with the following command:
sudo yum install Mysql-community-server
To start the MySQL service:
Service mysqld Start
Chkconfig--list
Chkconfig mysqld on -set service self-start
Chkconfig--list
Install and configure MySQL under Linux