mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-06 10:40:36 -07:00
mysql: revert changes made in PR 116
This commit is contained in:
parent
c8f9b1cd3f
commit
143376df8b
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ def mysql_connect(module, login_user=None, login_password=None, config_file='',
|
|||
if login_user is not None:
|
||||
config['user'] = login_user
|
||||
if login_password is not None:
|
||||
config['password'] = login_password
|
||||
config['passwd'] = login_password
|
||||
if ssl_cert is not None:
|
||||
config['ssl']['cert'] = ssl_cert
|
||||
if ssl_key is not None:
|
||||
|
@ -87,7 +87,7 @@ def mysql_connect(module, login_user=None, login_password=None, config_file='',
|
|||
if ssl_ca is not None:
|
||||
config['ssl']['ca'] = ssl_ca
|
||||
if db is not None:
|
||||
config['database'] = db
|
||||
config['db'] = db
|
||||
if connect_timeout is not None:
|
||||
config['connect_timeout'] = connect_timeout
|
||||
if check_hostname is not None:
|
||||
|
|
Loading…
Add table
Reference in a new issue