mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-06-08 09:19:11 -07:00
Docs: add info how to cope with a protocol-related connection error using login_unix_socket argument (#420)
This commit is contained in:
parent
0a68bb270f
commit
f1d63e3fc8
8 changed files with 24 additions and 0 deletions
|
@ -198,10 +198,13 @@ extends_documentation_fragment:
|
|||
'''
|
||||
|
||||
EXAMPLES = r'''
|
||||
# If you encounter the "Please explicitly state intended protocol" error,
|
||||
# use the login_unix_socket argument
|
||||
- name: Create a new database with name 'bobdata'
|
||||
community.mysql.mysql_db:
|
||||
name: bobdata
|
||||
state: present
|
||||
login_unix_socket: /run/mysqld/mysqld.sock
|
||||
|
||||
- name: Create new databases with names 'foo' and 'bar'
|
||||
community.mysql.mysql_db:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue