mysql Facts¶
See also: operations/mysql.
mysql.MysqlDatabases¶
host.get_fact(MysqlDatabases, mysql_user=None, mysql_password=None, mysql_host=None, mysql_port=None)
Returns a dict of existing MySQL databases and associated data:
mysql.MysqlUserGrants¶
host.get_fact(MysqlUserGrants, user, hostname='localhost', mysql_user=None, mysql_password=None, mysql_host=None, mysql_port=None)
Returns a dict of <database>`.<table> with a set of granted privileges for each:
mysql.MysqlUsers¶
Returns a dict of MySQL user@host's and their associated data: