To get started, go to http://dev.mysql.com/downloads/repo/, and click on download link for Red Hat Enterprise Linux 6 / Oracle Linux 6:
Log into your server and then download this file. Below is an example URL-- you may want to double-check there is not a later version of the repo available:
Install the repository from the local file:
wget http://dev.mysql.com/get/mysql57-community-release-el6-11.noarch.rpm
yum install mysql57-community-release-el6-11.noarch.rpm
You now have the official repository installed on your server, but with no software installed yet. The repository includes the MySQL Server, the MySQL Workbench administration tool and the ODBC driver. Let's install the MySQL Server:
yum install mysql-community-server
Start MySQL:
service mysqld start
chkconfig mysqld on
chkconfig --list mysqld
OUTPUT
[root@localhost src]# mysql -V
mysql Ver 14.14 Distrib 5.7.19, for Linux (x86_64) using EditLine wrapper