From 71679309f2cde6c0db7c190aae4e73c0de767a3f Mon Sep 17 00:00:00 2001 From: David Prevot Date: Tue, 25 Oct 2022 15:36:52 +0200 Subject: [PATCH] HowtoMySQL/Replication: tfix --- HowtoMySQL/Replication.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HowtoMySQL/Replication.md b/HowtoMySQL/Replication.md index c4a07a94..af3cafff 100644 --- a/HowtoMySQL/Replication.md +++ b/HowtoMySQL/Replication.md @@ -81,7 +81,7 @@ skip-slave-start ## Réinjecté un dump sans écrire dans les binlogs -Si l'on veux injecté un dump dans une base mysql, ou une instance complète, sans écrire dans les binlogs, on peut utilisé l'option --unit-command qui initialise une requêtes msyql avant chaque requête du dump : +Si l'on veux injecter un dump dans une base mysql, ou une instance complète, sans écrire dans les binlogs, on peut utiliser l'option `--init-command` qui initialise une requêtes msyql avant chaque requête du dump : ~~~ # mysql --init-command="SET SQL_LOG_BIN = 0;" -o mabase < mabase.sql @@ -838,4 +838,4 @@ Query OK, 0 rows affected (2.01 sec) mysql> RESET SLAVE ALL FOR CHANNEL "cdb0-sql41"; Query OK, 0 rows affected (0.02 sec) -~~~ \ No newline at end of file +~~~