mysql_database
¶
Management of MySQL databases (schemas)¶
- depends:
MySQLdb Python module
- configuration:
See
salt.modules.mysql
for setup instructions.
The mysql_database module is used to create and manage MySQL databases. Databases can be set as either absent or present.
frank:
mysql_database.present
- saltext.mysql.states.mysql_database.__virtual__()[source]¶
Only load if the mysql module is available in __salt__