From cf8e84b87d02a4aed508956c49f484fd407f24cf Mon Sep 17 00:00:00 2001 From: Chris Croome Date: Thu, 16 Jun 2022 12:41:37 +0100 Subject: [PATCH] Update plugins/doc_fragments/mysql.py Co-authored-by: Andrew Klychkov --- plugins/doc_fragments/mysql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/doc_fragments/mysql.py b/plugins/doc_fragments/mysql.py index 8854016..66809c4 100644 --- a/plugins/doc_fragments/mysql.py +++ b/plugins/doc_fragments/mysql.py @@ -101,7 +101,7 @@ notes: - Alternatively, you can use the mysqlclient library instead of MySQL-python (MySQLdb) which supports both Python 2.X and Python >=3.5. See U(https://pypi.org/project/mysqlclient/) how to install it. - - If credentials from the config file (for example, C(/root/.my.cnf)) are not needed to connect to a database server, but + - "If credentials from the config file (for example, C(/root/.my.cnf)) are not needed to connect to a database server, but the file exists and does not contain a C([client]) section, before any other valid directives, it will be read and this - will cause the connection to fail, to prevent this set it to an empty string, (for example C(config_file: '')). + will cause the connection to fail, to prevent this set it to an empty string, (for example C(config_file: ''))." '''