install mysql in centos code example
Example 1: how to setup mysql on centos 7
sudo grep 'temporary password' /var/log/mysqld.log
Example 2: installing mysql on centos 7
sudo yum localinstall https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm