允许mysql服务远程访问
给登录用户授权
grant all privileges on *.* to root@'%' identified by "password";
刷新权限
flush privileges;
查询是否刷新权限成功
select host,user,password from user;
给登录用户授权
grant all privileges on *.* to root@'%' identified by "password";
刷新权限
flush privileges;
查询是否刷新权限成功
select host,user,password from user;