cd /usr/local/src/  
wget -c http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-5.7.15-linux-glibc2.5-x86_64.tar.gz  
tar -zxvf mysql-5.7.15-linux-glibc2.5-x86_64.tar.gz  
cd /usr/local/  
service mysqld stop  
unlink mysql  
ln -s /usr/local/src/mysql-5.7.15-linux-glibc2.5-x86_64 mysql  
cd mysql/  
mkdir mysql-files  
chmod 750 mysql-files  
chown -R root:mysql .  
chown -R mysql mysql-files  
service mysqld start  
mysql_upgrade -s -u root -p  
service mysqld restart