From d42e19ab39b5d5d9e2247efe9d4573bfce1dc03f Mon Sep 17 00:00:00 2001 From: Daniel Rupp Date: Thu, 23 Dec 2021 12:52:01 +0100 Subject: [PATCH 1/2] Update plugins/modules/mysql_user.py Co-authored-by: Andrew Klychkov --- plugins/modules/mysql_user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/mysql_user.py b/plugins/modules/mysql_user.py index 4b371df..870d2e2 100644 --- a/plugins/modules/mysql_user.py +++ b/plugins/modules/mysql_user.py @@ -80,9 +80,9 @@ options: as a database to connect to). Useful if you use binlog / replication filters in MySQL as per default the statements can not be caught by a binlog / replication filter, they require a database to be set to work. - - see U(https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#option_mysqld_binlog-ignore-db) + - See U(https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#option_mysqld_binlog-ignore-db) for a description on how binlog filters work (filtering on the primary). - - see U(https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#option_mysqld_replicate-ignore-db) + - See U(https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#option_mysqld_replicate-ignore-db) for a description on how replication filters work (filtering on the replica). type: bool default: no From 9c6de62ec1a7f7d72d6d44af55a5653d2a21a1c8 Mon Sep 17 00:00:00 2001 From: Daniel Rupp Date: Thu, 23 Dec 2021 12:52:27 +0100 Subject: [PATCH 2/2] Update plugins/modules/mysql_user.py Co-authored-by: Andrew Klychkov --- plugins/modules/mysql_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/mysql_user.py b/plugins/modules/mysql_user.py index 870d2e2..e1d0a92 100644 --- a/plugins/modules/mysql_user.py +++ b/plugins/modules/mysql_user.py @@ -79,7 +79,7 @@ options: - Sets the ะก(mysql) system database as context for the executed statements (it will be used as a database to connect to). Useful if you use binlog / replication filters in MySQL as per default the statements can not be caught by a binlog / replication filter, they require - a database to be set to work. + a database to be set to work, otherwise the replication can break down. - See U(https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#option_mysqld_binlog-ignore-db) for a description on how binlog filters work (filtering on the primary). - See U(https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#option_mysqld_replicate-ignore-db)