windows下的mysql客户端Navicat链接虚拟机上CentOS7的mysql服务 在Mysql命令行中执行: grant all privileges on *.* to root@"%" identified by "123456" with grant option;