侧边栏壁纸

Mysql内网环境开放root权限本地访问

2022年08月21日 186阅读 0评论 1点赞

使用mysql

mysql> use mysql;.

查看user权限

select user,authentication_string,host from user;

设置任何主机可以登录

mysql> update user set user.Host="%" where user.User="root";

刷新权限

mysql> flush privileges;

1

—— 评论区 ——

昵称
邮箱
网址
取消
人生倒计时
舔狗日记