Merge pull request #794 from dhml/devel

Fix issue #793: mysql_db: for state={absent,present} connections to database mysql fail for users other than root
This commit is contained in:
Brian Coca 2015-02-16 10:52:19 -05:00
commit 68478691fa

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: