change deprecated parameter pw to password

This commit is contained in:
Daniel Ziegenberg 2021-03-12 14:56:23 +01:00
parent baea97d24c
commit 30247e7c3d
No known key found for this signature in database
GPG key ID: 7E6F98FFADBEFD39

View file

@ -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['passwd'] = login_password
config['password'] = login_password
if ssl_cert is not None:
config['ssl']['cert'] = ssl_cert
if ssl_key is not None: