mysql_db \- Add or remove MySQL databases from a remote host.
."------DESCRIPTION
.SHDESCRIPTION
.PP
Add or remove MySQL databases from a remote host.
."------OPTIONS
."
."
.SHOPTIONS
.IPstate
The database state
.IRChoices:
present,absent. (default: present)
.IPname
name of the database to add or remove(required)
.IPencoding
Encoding mode
.IPcollation
Collation mode
.IPlogin_user
The username used to authenticate with
.IPlogin_host
Host running the database (default: localhost)
.IPlogin_password
The password used to authenticate with."
."
."------NOTES
.SHNOTES
.PP
Requires the MySQLdb Python package on the remote host. For Ubuntu, this is as easy as apt-get install python-mysqldb.
.PP
Both \fClogin_password\fR and \fClogin_username\fR are required when you are passing credentials. If none are present, the module will attempt to read the credentials from \fC~/.my.cnf\fR, and finally fall back to using the MySQL default login of 'root' with no password.