Install the MySQL client and/or server
Find a file
2014-07-01 15:32:32 -04:00
mysql Fixes missing param in user.states 2014-07-01 15:32:32 -04:00
LICENSE Add LICENSE. 2013-07-27 22:58:38 +02:00
pillar.example Fix typo 2014-06-19 22:48:59 +02:00
README.rst Adds meta state and also deals with the default password security issue. 2014-07-01 15:18:54 -04:00

mysql

Install the MySQL client and/or server.

Available states

mysql

Meta-state that includes all server packages in the correct order.

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.

Note

If no root password is provided in the pillar, a random one will be created. As-of Hydrogen, this password uses the Python random module via test.rand_str. As random is considered cryptographically insecure, future formula versions should use the newly available random.get_str method.

mysql.database

Create and manage MySQL databases.

mysql.python

Install mysql python bindings.

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.