时间:2021-07-01 10:21:17 帮助过:4人阅读
每次搭环境都要重新修改, 记录一下:
在Linux里面:
# ./mysql -uroot -p
查看权限:
> use mysql;
> select host, user from user;
> grant all privileges on *.* to ‘root‘@‘%‘;
> flush privileges;
> grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘password!‘;
MySql 修改登陆规则
标签:rom user 记录 grant select linux linu mysql lin