mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-16 01:30:25 +00:00
Install the MySQL client and/or server
mysql | ||
LICENSE | ||
pillar.example | ||
README.rst |
mysql
Install the MySQL client and/or server.
Note
See the full Salt Formulas installation and usage instructions.
Available states
mysql.client
Install the MySQL client package.
mysql.server
Install the MySQL server package and start the service.
Debian OS family supports setting MySQL root password during install via debconf.
mysql.database
Create and manage MySQL databases.
mysql.user
Create and manage MySQL database users with definable GRANT privileges.
The state accepts MySQL hashed passwords or clear text. Hashed password have priority.
Note
See the salt.states.mysql_user docs for additional information on configuring hashed passwords.
Make sure the quote the passwords in the pillar so YAML doesn't throw an exception.