Mysql 查看用户的权限
· 技术积累 · Mysql

查看mysql用户对哪些库的有哪些权限,这里以root用户为例

查看用户全局权限

select * from mysql.user where user='root';
muser1.png

查看用户对数据库有什么权限

select * from mysql.db where user='root';
muser2.png

本文最后更新时间 2023-02-13
文章链接地址:
https://me.jinchuang.org/archives/1161.html
本站文章除注明[转载|引用|原文]出处外,均为本站原生内容,转载前请注明出处


留言列表

  1. 巡视官
    巡视官 Windows 7 Google Chrome · 中国上海市电信 · 回复

    生我何用?不能欢笑。灭我何用?不减狂骄。

    1. J.C
      J.C Windows 10 Google Chrome · 中国上海市电信 · 回复

      我要这天,再遮不住我眼,

      要这地,再埋不了我心。

      要这众生,都明白我意,

      要拿诸佛,都烟消云散!

留言