1.download rpm package
http://dev.mysql.com/downloads/repo/yum/
wget http://dev.mysql.com/get/mysql57-community-release-el6-8.noarch.rpm
2.Adding the MySQL Yum Repository
http://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/
rpm -Uvh mysql57-community-release-el6-8.noarch.rpm
3.install
yum install mysql-community-server
4.passwd
grep 'temporary password' /var/log/mysqld.log