salt.states.mysql_user

Management of MySQL users.

The mysql_user module is used manage MySQL users.

frank:
  mysql_user.present:
    - host: localhost
    - password: bobcat

Members

absent

salt.states.mysql_user.absent(name, host='localhost')

Ensure that the named user is absent

name
The name of the user to remove

present

salt.states.mysql_user.present(name, host='localhost', password=None, password_hash=None)

Ensure that the named user is present with the specified properties

name
The name of the user to manage
password
The password
password_hash
The password in hashed form

Parent topic

Table Of Contents

Previous topic

salt.states.mysql_grants

Next topic

salt.states.network