Mysql 5.6 is the latest stable release of mysql. You can use the following steps to install mysql5.6
# 1. Install a package with repository for your system:
# On CentOS, install package centos-release-scl available in CentOS repository:
$ sudo yum install centos-release-scl
# 2. Install the collection
$ sudo yum install rh-mysql56
# 3. Start using the software collection:
$ scl enable rh-mysql56 bash
$ service rh-mysql56-mysqld start
$ mysql
Mysql 5.6 has been installed on your server and you can manage it easily from your server.
# 1. Install a package with repository for your system:
# On CentOS, install package centos-release-scl available in CentOS repository:
$ sudo yum install centos-release-scl
# 2. Install the collection
$ sudo yum install rh-mysql56
# 3. Start using the software collection:
$ scl enable rh-mysql56 bash
$ service rh-mysql56-mysqld start
$ mysql
Mysql 5.6 has been installed on your server and you can manage it easily from your server.