linux / mysql · 2023年2月13日 0

查看MySQL用户授予的权限

查看已有用户

select Host,User  from user;

获取用户权限

show grants for '用户名User'@'主机Host';