我的博客
欢迎来到我的博客
bunny.icu

MySQL添加远程登录权限

MySQL添加远程登录权限
use mysql;
update user set host = '%' where user = 'root';
Grant all on *.* to 'root'@'%' identified by '123456' with grant option;
flush privileges;

版权声明


本作品系原创, 转载须遵循 CC BY-NC-ND 4.0 许可协议
本文标题:MySQL添加远程登录权限
本文链接:https://www.bunny.icu/archives/1348

推荐文章

发表评论

textsms
account_circle
email

bunny.icu

MySQL添加远程登录权限
use mysql; update user set host = '%' where user = 'root'; Grant all on *.* to 'root'@'%' identified by '123456' with grant option; flush privileges;
扫描二维码继续阅读
2020-09-06