mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-19 08:51:26 -07:00
Docs: add info how to cope with a protocol-related connection error using login_unix_socket argument (#420) (#431)
(cherry picked from commit f1d63e3fc8
)
This commit is contained in:
parent
108c4ae729
commit
c199000eee
7 changed files with 21 additions and 0 deletions
|
@ -152,11 +152,14 @@ extends_documentation_fragment:
|
|||
'''
|
||||
|
||||
EXAMPLES = r'''
|
||||
# If you encounter the "Please explicitly state intended protocol" error,
|
||||
# use the login_unix_socket argument
|
||||
- name: Removes anonymous user account for localhost
|
||||
community.mysql.mysql_user:
|
||||
name: ''
|
||||
host: localhost
|
||||
state: absent
|
||||
login_unix_socket: /run/mysqld/mysqld.sock
|
||||
|
||||
- name: Removes all anonymous user accounts
|
||||
community.mysql.mysql_user:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue