MySQLdb Python module
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
salt.states.mysql_database.
absent
(name, **connection_args)¶Ensure that the named database is absent
The name of the database to remove
salt.states.mysql_database.
present
(name, character_set=None, collate=None, **connection_args)¶Ensure that the named database is present with the specified properties
The name of the database to manage
Generated on March 26, 2023 at 04:04:33 UTC.
You are viewing docs built from a recent snapshot of the master branch. Switch to docs for the latest stable release, 3005.1.
© 2023 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy