install mysql 8.0 on centos 7 code example
Example: mysql 5.7 in centos 7
$ wget https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
$ wget https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm