CDIST-TYPE__MYSQL_DATABASE(7)
π cdist-type__mysql_database(7) π
ok so bestie, welcome to the cdist-type__mysql_database manual page β it lives in the cdist fam and it's literally here to help you handle MySQL databases without losing your mind π«Ά
β¨ NAME β¨
cdist-type__mysql_database β manage a MySQL database ποΈβ¨
πΈ DESCRIPTION πΈ
So basically this type creates a MySQL database for you, and if you want, it can also create a user and hand that user all the privileges on the database. It's giving one-stop shop, no cap π
π OPTIONAL PARAMETERS π
nameβ the name of the database. If you don't say anything, it defaults to the object id. (Yes, the object id is the main character here π)userβ create a user and give them all privileges on the database. Bestie gets the keys πpasswordβ the password for that user. Keep it secret, keep it safe πstateβ defaults topresent. If you set it toabsentanduseris also set, then both the user and the database get removed (privileges included, they're not staying behind π).
π EXAMPLES π
Just vibing and making a database, nothing extra:
# just create database
__mysql_database foo
Now with a whole user and all privileges, because we're generous like that:
# create database with respective user with all privileges to database
__mysql_database bar \
--user name \
--password secret
π¦ AUTHORS π¦
Ander Punnar <ander-at-kvlt-dot-ee> β icon, legend, wrote the thing π
π 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. (fr fr, GPL energy, we love to see it π)
β COPYRIGHT β
ungleich GmbH 2021
and that's the whole page, bestie β go forth and database responsibly πΈβ¨
version 7.0.0 Β· dated Jul 31, 2022 Β· from ungleich GmbH 2021 π iykyk
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms