1.开放防火墙的端口号3306 vim /etc/sysconfig/iptables 2.重启防火墙 service iptables restart 3.授权mysql远程登录 grant all privileges on *.* to ‘root’@’%’ identified by ‘youpassword’ with grant option; 4.刷新权限 flush privileges; 5.navicat连接linux上的mysql
windows下的navicat远程连接linux上的mysql1.开放防火墙的端口号3306vim /etc/sysconfig/iptables2.重启防火墙service iptables restart3.授权mysql远程登录grant all privileges on *.* to ‘root’@’%’ identified by ‘youpassword’ wit...