From 72f21e0f7d139e55c965c63324d144e62e9c47cc Mon Sep 17 00:00:00 2001 From: emorino Date: Thu, 28 Oct 2021 09:44:16 +0200 Subject: [PATCH] Ajout droit particulier utilisateur sql mariabackup pour l'option --slave-info --- HowtoMySQL/mariabackup.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HowtoMySQL/mariabackup.md b/HowtoMySQL/mariabackup.md index cd828600..bcb6b729 100644 --- a/HowtoMySQL/mariabackup.md +++ b/HowtoMySQL/mariabackup.md @@ -45,6 +45,12 @@ Un utilisateur spécifique a Mariabackup doit être créé, avec les droits RELO MariaDB > GRANT RELOAD, PROCESS, LOCK TABLES, REPLICATION CLIENT ON *.* TO 'mariabackup'@'localhost' IDENTIFIED BY 'foobarcorp'; ~~~ +Si on doit utilisé l'option --slave-info, il faut rajouter les droits `SUPER` et `SLAVE MONITOR` : + +~~~ +MariaDB > GRANT RELOAD, PROCESS, LOCK TABLES, SUPER, SLAVE MONITOR, BINLOG MONITOR ON *.* TO `mariabackup`@`localhost`IDENTIFIED BY 'foobarcorp'; +~~~ + Les informations du compte _mariabackup_ peuvent être spécifié dans un groupe d'option client dans le fichier _.my.cnf_ comme ceci : ~~~