cdist-type__mysql_privileges(7)

cdist-type__mysql_privileges7

Manage mysql privileges

Overview

Grant and revoke privileges of MySQL user.

Required parameters

database

Name of database.

user

Name of user.

Optional parameters

privileges

Defaults to "all".

table

Defaults to "*".

host

Defaults to localhost.

state

"present" grants and "absent" revokes. Defaults to present.

Examples

__mysql_privileges user-to-db --database db --user user

Copying

Copyright (C) 2020 Ander Punnar. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Authors

Ander Punnar <ander-at-kvlt-dot-ee>

From cdist 7.0.0-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.