logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cdist-type__mysql_privileges - Manage MySQL privileges

Authors

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

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.

Description

       Grant and revoke privileges of MySQL user.

Examples

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

Name

       cdist-type__mysql_privileges - Manage MySQL privileges

Optional Parameters

privileges
              Defaults to "all".

       table  Defaults to "*".

       host   Defaults to localhost.

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

Required Parameters

database
              Name of database.

       user   Name of user.

See Also