mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
Since the 10.5 split of the privileges, the required GRANTs for various mariabackup operations has changed. In the addition of tests, a number of mappings where incorrect: The option --lock-ddl-per-table didn't require connection admin. The option --safe-slave-backup requires SLAVE MONITOR even without the --no-lock option.
14 lines
739 B
Text
14 lines
739 B
Text
CREATE user backup@localhost;
|
|
FOUND 1 /missing required privilege RELOAD/ in backup.log
|
|
FOUND 1 /missing required privilege PROCESS/ in backup.log
|
|
FOUND 1 /GRANT USAGE ON/ in backup.log
|
|
GRANT RELOAD, PROCESS on *.* to backup@localhost;
|
|
NOT FOUND /missing required privilege REPLICA MONITOR/ in backup.log
|
|
GRANT REPLICA MONITOR ON *.* TO backup@localhost;
|
|
REVOKE REPLICA MONITOR ON *.* FROM backup@localhost;
|
|
GRANT CONNECTION ADMIN ON *.* TO backup@localhost;
|
|
FOUND 1 /missing required privilege REPLICATION SLAVE ADMIN/ in backup.log
|
|
NOT FOUND /missing required privilege REPLICA MONITOR/ in backup.log
|
|
GRANT REPLICATION SLAVE ADMIN ON *.* TO backup@localhost;
|
|
GRANT REPLICA MONITOR ON *.* TO backup@localhost;
|
|
DROP USER backup@localhost;
|