1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix issue #793: mysql_db: for state={absent,present} connections to database mysql fail for users other than root

This commit is contained in:
David Hummel 2015-02-14 17:16:35 -05:00 committed by Matt Clay
parent 4737b41f26
commit 63e9de3170

View file

@ -312,7 +312,7 @@ def main():
module.fail_json(msg="with state=%s target is required" % (state))
connect_to_db = db
else:
connect_to_db = 'mysql'
connect_to_db = ''
try:
if socket:
try: