标签:rom user 记录 grant select linux linu mysql lin
每次搭环境都要重新修改, 记录一下:
在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!‘;
标签:rom user 记录 grant select linux linu mysql lin
原文地址:https://www.cnblogs.com/Montauk/p/10016049.html