install mysql server centos 8 code example
Example: installing mysql on centos 7
sudo yum localinstall https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm
sudo yum localinstall https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm