解压
tar -xvf mysql-5.7.16-1.el6.x86_64.rpm-bundle.tar
安装MySQL-server包
rpm -ivh mysql-community-server-5.7.16-1.el6.x86_64.rpm
启动mysql并设置登录密码
/etc/init.d/mysql start
mysqladmin -uroot password "123456"
配置客户端连接
use mysql;
grant all on *.* to root@"%" identified by "123456";