Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.5.5
Description
A user that had REPLICATION SLAVE, REPLICATION CLIENT privileges before upgrade to 10.5, has REPLICATION SLAVE, BINLOG MONITOR after upgrade, but is not able to run SHOW SLAVE STATUS anymore, as it is missing the new REPLICATION SLAVE ADMIN privilege now which is necessary for this in 10.5.
IMHO mysql_upgrade should take care of replacing REPLICATION CLIENT with BINLOG MONITOR, REPLICATION SLAVE ADMIN when doing a pre-10.5 to 10.5 or later upgrade.
Same for REPLICATION SLAVE, that should become REPLICATION SLAVE, REPLICATION MASTER ADMIN, REPLICATION SLAVE ADMIN instead on upgrades to 10.5., so that existing users can still continue to use SHOW SLAVE HOSTS and SHOW RELAYLOG EVENTS.
Attachments
Issue Links
- duplicates
-
MDEV-23899 admin privilege required to monitoring replication status - 10.5.5
-
- Closed
-
- is caused by
-
MDEV-21743 Split up SUPER privilege to smaller privileges
-
- Closed
-
- relates to
-
MDEV-22030 Don't grant REPLICATION MASTER ADMIN automatically on upgrade from an older JSON user table
-
- Closed
-
-
MDEV-22152 REPLICATION MASTER ADMIN privilege not given to former SUPER users upon upgrade
-
- Closed
-
-
MDEV-23918 admin privlege required to view contents of relay logs in 10.5
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue is caused by |
Description |
A user that had {{ REPLICATION SLAVE, REPLICATION CLIENT }} privileges before upgrade to 10.5, has {{ REPLICATION SLAVE, BINLOG MONITOR }} after upgrade, but is not able to run {{ SHOW SLAVE STATUS }} anymore, as it is missing the new {{ REPLICATION SLAVE ADMIN }} privilege now which is necessary for this in 10.5.
IMHO mysql_upgrade should take care of replacing {{ REPLICATION CLIENT }} with {{ BINLOG MONITOR, REPLICATION SLAVE ADMIN }} when doing a pre-10.5 to 10.5 or later upgrade. Same for {{ REPLICATION SLAVE }}, that should become {{ REPLICATION SLAVE, REPLICATION MASTER ADMIN, REPLICATION SLAVE ADMIN }} instead on upgrades to 10.5., so that existing users can still continue to use {{ SHOW SLAVE HOTSTS }} and {{ SHOW RELAYLOG EVENTS }}. |
A user that had {{REPLICATION SLAVE, REPLICATION CLIENT}} privileges before upgrade to 10.5, has {{REPLICATION SLAVE, BINLOG MONITOR}} after upgrade, but is not able to run {{SHOW SLAVE STATUS}} anymore, as it is missing the new {{REPLICATION SLAVE ADMIN}} privilege now which is necessary for this in 10.5.
IMHO {{mysql_upgrade}} should take care of replacing {{REPLICATION CLIENT}} with {{BINLOG MONITOR, REPLICATION SLAVE ADMIN}} when doing a pre-10.5 to 10.5 or later upgrade. Same for {{REPLICATION SLAVE}}, that should become {{REPLICATION SLAVE, REPLICATION MASTER ADMIN, REPLICATION SLAVE ADMIN}} instead on upgrades to 10.5., so that existing users can still continue to use {{SHOW SLAVE HOTSTS}} and {{SHOW RELAYLOG EVENTS}}. |
Description |
A user that had {{REPLICATION SLAVE, REPLICATION CLIENT}} privileges before upgrade to 10.5, has {{REPLICATION SLAVE, BINLOG MONITOR}} after upgrade, but is not able to run {{SHOW SLAVE STATUS}} anymore, as it is missing the new {{REPLICATION SLAVE ADMIN}} privilege now which is necessary for this in 10.5.
IMHO {{mysql_upgrade}} should take care of replacing {{REPLICATION CLIENT}} with {{BINLOG MONITOR, REPLICATION SLAVE ADMIN}} when doing a pre-10.5 to 10.5 or later upgrade. Same for {{REPLICATION SLAVE}}, that should become {{REPLICATION SLAVE, REPLICATION MASTER ADMIN, REPLICATION SLAVE ADMIN}} instead on upgrades to 10.5., so that existing users can still continue to use {{SHOW SLAVE HOTSTS}} and {{SHOW RELAYLOG EVENTS}}. |
A user that had {{REPLICATION SLAVE, REPLICATION CLIENT}} privileges before upgrade to 10.5, has {{REPLICATION SLAVE, BINLOG MONITOR}} after upgrade, but is not able to run {{SHOW SLAVE STATUS}} anymore, as it is missing the new {{REPLICATION SLAVE ADMIN}} privilege now which is necessary for this in 10.5.
IMHO {{mysql_upgrade}} should take care of replacing {{REPLICATION CLIENT}} with {{BINLOG MONITOR, REPLICATION SLAVE ADMIN}} when doing a pre-10.5 to 10.5 or later upgrade. Same for {{REPLICATION SLAVE}}, that should become {{REPLICATION SLAVE, REPLICATION MASTER ADMIN, REPLICATION SLAVE ADMIN}} instead on upgrades to 10.5., so that existing users can still continue to use {{SHOW SLAVE HOSTS}} and {{SHOW RELAYLOG EVENTS}}. |
Link |
This issue relates to |
Link |
This issue relates to |
Component/s | Documentation [ 10903 ] |
Fix Version/s | N/A [ 14700 ] | |
Assignee | Geoff Montee [ geoffmontee ] |
Fix Version/s | N/A [ 14700 ] |
Assignee | Geoff Montee [ geoffmontee ] | Ian Gilfillan [ greenman ] |
Component/s | Documentation [ 10903 ] |
Assignee | Ian Gilfillan [ greenman ] |
Assignee | Oleksandr Byelkin [ sanja ] |
Fix Version/s | 10.5 [ 23123 ] |
Link |
This issue duplicates |
Priority | Major [ 3 ] | Critical [ 2 ] |
Link |
This issue is duplicated by |
Assignee | Oleksandr Byelkin [ sanja ] | Sujatha Sivakumar [ sujatha.sivakumar ] |
Link |
This issue is duplicated by |
Link |
This issue relates to |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Link | This issue blocks MENT-995 [ MENT-995 ] |
Assignee | Sujatha Sivakumar [ sujatha.sivakumar ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Sergei Golubchik [ serg ] | Sujatha Sivakumar [ sujatha.sivakumar ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Link | This issue blocks MENT-995 [ MENT-995 ] |
Link | This issue is part of MENT-995 [ MENT-995 ] |
Fix Version/s | 10.5.9 [ 25109 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Labels | privileges slave |
Workflow | MariaDB v3 [ 113011 ] | MariaDB v4 [ 158315 ] |
Zendesk Related Tickets | 136169 |
Should users with SUPER privileges also be granted the other new privileges after upgrading to 10.5? e.g. a mapping like this: