By default, CentOS uses MariaDB, to install MySQL, you need to add a repository:
1 | sudo rpm -Uvh https: //dev .mysql.com /get/mysql80-community-release-el7-3 .noarch.rpm |
See the list of repositories:
1 | sudo yum repolist |
Install:
1 | sudo yum install mysql-community-server |