.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "CDIST-TYPE__MYSQL_DATABASE" "7" "Sep 26, 2023" "7.0.0" "cdist" .SH NAME .sp cdist\-type__mysql_database \- Manage a MySQL database .SH DESCRIPTION .sp Create MySQL database and optionally user with all privileges. .SH OPTIONAL PARAMETERS .INDENT 0.0 .TP .B name Name of database. Defaults to object id. .TP .B user Create user and give all privileges to database. .TP .B password Password for user. .TP .B state Defaults to present. If absent and user is also set, both will be removed (with privileges). .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .EX # just create database __mysql_database foo # create database with respective user with all privileges to database __mysql_database bar \e \-\-user name \e \-\-password secret .EE .UNINDENT .UNINDENT .SH AUTHORS .sp Ander Punnar .SH COPYING .sp 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. .SH COPYRIGHT ungleich GmbH 2021 .\" Generated by docutils manpage writer. .