Skip to content

Commit

Permalink
Update privilege-management.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hfxsd authored and ti-chi-bot committed Dec 4, 2024
1 parent ecbbc9b commit 7550a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion privilege-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ SELECT * FROM INFORMATION_SCHEMA.USER_PRIVILEGES WHERE grantee = "'root'@'%'";

`SHOW GRANTS` 需要拥有对 `mysql` 数据库的 `SELECT` 权限。如果是使用 `SHOW GRANTS` 查看当前用户权限,则不需要任何权限。

`SHOW PROCESSLIST` 需要 `SUPER` 权限来显示属于其他用户的连接。
`SHOW PROCESSLIST` 需要 `PROCESS` 权限来显示属于其他用户的连接。

`SHOW IMPORT JOB` 需要 `SUPER` 权限来显示属于其他用户的任务,否则只能看到当前用户创建的任务。

Expand Down

0 comments on commit 7550a25

Please sign in to comment.