Ajout droit particulier utilisateur sql mariabackup pour l'option --slave-info
This commit is contained in:
parent
6d4d6c9e88
commit
72f21e0f7d
|
@ -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 :
|
||||
|
||||
~~~
|
||||
|
|
Loading…
Reference in a new issue