开启远程链接
update user set host = "%" where user = "root";flush privileges;
关闭远程链接
update user set host = "localhost" where user = "root" and host= "%";flush privileges;