1、先linux执行mysql -h172.115.123.22 -udeve -pdeve [-P3306] 说明网络问题能mysql没启或者deve用户没远程访问权限 2、停止iptables防火墙 linux shell> /etc/init.d/iptables stop 3、检查mysql进程及端口否启 linux shell> ps -efgrep mysql linux shell> netstat -ntl 4、增加远程访问权限用户 linux shell> mysql -uroot -p mysql > select user,host from mysql.user; mysql > create user deve@'%' identified by 'deve'; mysql > grant all on *.* to deve@'%' ; 5、用telnet确认访问 windows cmd> telnet 172.115.123.22 3306