查看虚拟机里的Centos7的IP:ip addr或者ifconfig ---https://blog.csdn.net/dancheren/article/details/73611878
Centos7.3 安装Mysql5.7并修改密码策略可以设置简单密码----https://blog.csdn.net/zyw_java/article/details/70949596
centos7通过yum安装mysql,并授权远程连接----https://www.cnblogs.com/rongfengliang/p/5727088.html
防火墙临时关闭 :systemctl stop firewalld
防火墙禁止开机启动: systemctl disable firewalld
重启mysql服务: systemctl restart mysqld