Merge "Fix privileges for MariaDB 10.5"

This commit is contained in:
Zuul 2021-10-11 11:15:04 +00:00 committed by Gerrit Code Review
commit 612937de0f
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@
name: "{{ mariadb_backup_database_user }}"
password: "{{ mariadb_backup_database_password }}"
host: "%"
priv: "*.*:CREATE TABLESPACE,RELOAD,PROCESS,SUPER,LOCK TABLES,REPLICATION CLIENT"
priv: "*.*:CREATE TABLESPACE,RELOAD,PROCESS,SUPER,LOCK TABLES,BINLOG MONITOR"
append_privs: True
when:
- enable_mariabackup | bool

View File

@ -11,7 +11,7 @@
name: "{{ prometheus_mysql_exporter_database_user }}"
password: "{{ prometheus_mysql_exporter_database_password }}"
host: "%"
priv: "*.*:PROCESS,REPLICATION CLIENT,SELECT"
priv: "*.*:PROCESS,SLAVE MONITOR,SELECT"
append_privs: "yes"
run_once: True
delegate_to: "{{ groups['prometheus'][0] }}"