install mysql 5.7 on centos 8 code example
Example 1: mysql 5.7 in centos 7
$ wget https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
Example 2: how to setup mysql on centos 7
sudo grep 'temporary password' /var/log/mysqld.log