Install the MySQL client and/or server
Find a file
2014-05-21 12:06:17 -04:00
mysql Fixed state names without proper namespacing that could lead to potential conflicts. 2014-05-21 12:06:17 -04:00
LICENSE Add LICENSE. 2013-07-27 22:58:38 +02:00
pillar.example Added support for MySQL hashed user password. Also added some improved YAML quoting around passwords. 2014-05-15 16:40:02 -04:00
README.rst Typo fix. 2014-05-15 17:08:31 -04:00

mysql

Install the MySQL client and/or server.

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 to quote the passwords in the pillar so YAML doesn't throw an exception.