centos 7 mysql 5.7

yum install https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm -y

yum repolist enabled | grep “mysql.*-community.*”
mysql-connectors-community/x86_64 MySQL Connectors Community 165
mysql-tools-community/x86_64 MySQL Tools Community 115
mysql57-community/x86_64 MySQL 5.7 Community Server 444

systemctl start mysqld
grep ‘temporary password’ /var/log/mysqld.log
2020-08-08T18:56:50.367913Z 1 [Note] A temporary password is generated for root@localhost: xxxxxxxxxxxxx

Leave a Reply

Your email address will not be published. Required fields are marked *