Skip to content

Commit

Permalink
privilege: change privilege for SHOW PROCESSLIST from SUPER to `P…
Browse files Browse the repository at this point in the history
…ROCESS` (#19195) (#19197)
  • Loading branch information
ti-chi-bot authored Dec 4, 2024
1 parent e7d0b92 commit 05a6e97
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 @@ -414,7 +414,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 05a6e97

Please sign in to comment.