Slave user can't run "SHOW SLAVE STATUS" anymore after upgrade to 10.5, mysql_upgrade should take of that
(MDEV-23610)
|
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation |
| Affects Version/s: | 10.5.4 |
| Fix Version/s: | N/A |
| Type: | Technical task | Priority: | Major |
| Reporter: | Nilnandan Joshi | Assignee: | Jacob Moorman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
As per the documentation, BINLOG MONITOR is new name for REPLICATION CLIENT from MariaDB 10.5.2, (REPLICATION CLIENT still supported as an alias for compatibility purposes). Permits running SHOW commands related to the binary log, in particular the SHOW BINLOG STATUS, SHOW REPLICA STATUS and SHOW BINARY LOGS statements. But SHOW SLAVE STATUS and SHOW REPLICA STATUS failed even though BINLOG MONITOR privilege provided.
Now REPLICATION SLAVE ADMIN is bigger privileges for the user because with that, user can START/STOP SLAVE and use CHANGE MASTER. So I think SHOW SLAVE STATUS/SHOW REPLICA STATUS should be a part of BINLOG MONITOR only. |
| Comments |
| Comment by Sujatha Sivakumar (Inactive) [ 2020-11-04 ] |
|
Hello greenman As part of https://jira.mariadb.org/browse/MDEV-21743 fix 'BINLOG MONITOR'
i.e SHOW REPLICA STATUS command requires 'REPLICATION SLAVE ADMIN' or 'SUPER' Can you please update the documentation accordingly. Please remove SHOW REPLICA STATUS / SHOW SLAVE STATUS from following pages. Add "SHOW BINLOG EVENTS" command under BINLOG MONITOR privilege. Please remove REPLICATION_CLIENT / BINLOG MONITOR from following page and Additional Note: This behavior will change in next release. |
| Comment by Sujatha Sivakumar (Inactive) [ 2020-12-09 ] |
|
Post SLAVE MONITOR/REPLICA MONITOR:
|
| Comment by Manjot Singh (Inactive) [ 2020-12-14 ] |
|
Why are we naming brand new privileges SLAVE MONITOR? |
| Comment by Daniel Black [ 2022-03-31 ] |
Done, commented they had a pre-10.5 effect however |