Use unix socket while granting access for the backup service

/root/.my.cnf is not stored on galera container anymore, so it's not
possible to run mysql_user via TCP connection.
Unix socket should be used instead.

Change-Id: I71bc866aedaa6fba3cc86d2a2a99ed32f0727c54
This commit is contained in:
Damian Dabrowski 2022-02-13 18:56:59 +01:00
parent ff5ef389a4
commit 3c57409bdf

View File

@ -88,7 +88,7 @@
host: "%"
priv: "*.*:RELOAD,PROCESS,LOCK TABLES,REPLICATION CLIENT"
append_privs: yes
login_host: "{{ galera_address }}"
login_port: 3306
login_unix_socket: "{{ galera_unix_socket }}"
check_hostname: false
no_log: true
run_once: true