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