1 navicat修改mysql表中user> host改为% 2 重新加载mysql服务 3登陆mysql -h 192.168.x.xxx(计算机ip) -P 3306 -uroot -p123456(密码)