利用xshell连接服务器修改mysql权限为% mysql -uroot -p show databases; use mysql; show tables; update user set Host='%' where Host='localhost';