wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql-community-server.x86_64
service mysqld start
grep "password" /var/log/mysqld.log
mysql -uroot -p
copy上面的临时密码进行登录
ALTER USER "root"@"localhost" IDENTIFIED BY "mySql123!";