mysql shell 查看 所有用户的 授权列表

来源:互联网 发布:php java 编辑:程序博客网 时间:2024/05/18 20:36

mysql> select * from information_schema.user_privileges;



mysql的远程登录授权


mysql>grant all privileges on *.* to 'root'@'%' identified by 'root' with grant option;
mysql>flush privileges;


原创粉丝点击