mysql_info doesn't list empty DBs #65727
Labels
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
database
Database category
has_pr
This issue has an associated PR.
module
This issue/PR relates to a module.
mysql
performance
python3
support:community
This issue/PR relates to code supported by the Ansible community.
SUMMARY
mysql_info
module doesn't show empty DBs. It uses following query in the code:But
show databases
show something else;ISSUE TYPE
COMPONENT NAME
mysql_info
modulesANSIBLE VERSION
OS / ENVIRONMENT
Amazon Linux 2
rh-mariadb103-3.3-5.el7.x86_64
STEPS TO REPRODUCE
mysql_db module
mysql_info
what databases where foundEXPECTED RESULTS
should list even empty DBs
ACTUAL RESULTS
it seems only populated DBs are listed
The text was updated successfully, but these errors were encountered: