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