mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-20 01:11:27 -07:00
fix case when a account as same user but different host and password
This commit is contained in:
parent
e607ce1974
commit
154d880846
3 changed files with 36 additions and 7 deletions
|
@ -605,7 +605,7 @@ class MySQL_Info(object):
|
|||
if len(output_dict['resource_limits']) == 0:
|
||||
del output_dict['resource_limits']
|
||||
|
||||
authentications = get_existing_authentication(self.cursor, user)
|
||||
authentications = get_existing_authentication(self.cursor, user, host)
|
||||
if authentications:
|
||||
output_dict.update(authentications)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue