>>wget http://repo.MysqL.com/MysqL57-community-release-el7-8.noarch.rpm >>rpm -ivh MysqL57-community-release-el7-8.noarch.rpm >>yum -y install MysqL-server >>service MysqLd restart >>grep 'temporary password' /var/log/MysqLd.log >>MysqL -uroot -p >>service MysqLd status原文链接:https://www.f2er.com/centos/374297.html