Skip to content

Commit 0571550

Browse files
committed
mariabackup: Grant ALTER on mysql.mariadb_backup_history
Also adapt our perms as per docs in [1]. This should fix 10.11.14 according to [2]. [1]: https://mariadb.com/docs/server/server-usage/backup-and-restore/mariadb-backup/mariadb-backup-overview#authentication-and-privileges [2]: https://jira.mariadb.org/browse/MDEV-37406 Closes-Bug: #2120409 Change-Id: I2349d566e38c03b60c87e390cf03166c65bc94b7 Signed-off-by: Michal Nasiadka <[email protected]> (cherry picked from commit 3b69594)
1 parent a3c7351 commit 0571550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/roles/mariadb/tasks/register.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
name: "{{ mariadb_backup_database_user }}"
4747
password: "{{ mariadb_backup_database_password }}"
4848
host: "%"
49-
priv: "*.*:CREATE TABLESPACE,RELOAD,PROCESS,SUPER,LOCK TABLES,BINLOG MONITOR/{{ mariadb_backup_database_schema }}.mariadb_backup_history:CREATE"
49+
priv: "*.*:RELOAD,PROCESS,LOCK TABLES,BINLOG MONITOR/{{ mariadb_backup_database_schema }}.mariadb_backup_history:CREATE,ALTER,INSERT"
5050
append_privs: True
5151
when:
5252
- enable_mariabackup | bool

0 commit comments

Comments
 (0)