update mysql centos
# WARNING: Backup before you do this as it will delete all your databases
wget http://repo.mysql.com/mysql57-community-release-el7.rpm -P /tmp/
yum remove mysql-community-release
rpm -ivh /tmp/mysql57-community-release-el7.rpm
yum update mysql
sudo systemctl start mysqld
sudo systemctl status mysqld
sudo mysql_upgrade
sudo systemctl restart mysqld
sudo systemctl status mysqld