For CentOS 7:
wget -O mysql57-community-release-el7-7.noarch.rpm http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm
yum localinstall -y mysql57-community-release-el7-7.noarch.rpm
yum install -y mysql-community-server
Enable and start:
systemctl enable mysqld
systemctl start mysqld