Docs: add info how to cope with a protocol-related connection error using login_unix_socket argument (#420)

(cherry picked from commit f1d63e3fc8)
This commit is contained in:
Andrew Klychkov 2022-08-26 11:38:41 +02:00 committed by patchback[bot]
commit ac105ec5ef
8 changed files with 24 additions and 0 deletions

View file

@ -212,9 +212,12 @@ seealso:
'''
EXAMPLES = r'''
# If you encounter the "Please explicitly state intended protocol" error,
# use the login_unix_socket argument
- name: Stop mysql replica thread
community.mysql.mysql_replication:
mode: stopreplica
login_unix_socket: /run/mysqld/mysqld.sock
- name: Get primary binlog file name and binlog position
community.mysql.mysql_replication: