标签:pass host grant root mys xxx sele 授权 mysql
1.mysql -u root -p登录数据库
2.use mysql;
3.grant all privileges on *.* to root@"xxx.xxx.xxx.xxx" identified by "密码";
4.fulsh privileges;
这是已经完成,可以进行查看
select user,password,host from use;
标签:pass host grant root mys xxx sele 授权 mysql
原文地址:http://www.cnblogs.com/w7589/p/7722742.html