升级版mysql
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
sudo yum install mariadb-server mariadb
sudo systemctl start mariadb
mysqladmin -u root -p password # 修改密码