---
name: "cdist-type__mysql_user"
section: "7"
platform: "linux"
package: "cdist"
version: "7.0.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cdist-type__mysql_user"
---

# cdist-type\_\_mysql\_user(7)

Manage a MySQL user

## NAME

cdist-type\_\_mysql\_user - Manage a MySQL user

## DESCRIPTION

Create MySQL user or change password for the user.

## OPTIONAL PARAMETERS

- **name**

  Name of user. Defaults to object id.

- **host**

  Host of user. Defaults to localhost.

- **password**

  Password of user.

- **state**

  Defaults to present.

## EXAMPLES

```
__mysql_user user --password secret
```

## 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.

## COPYRIGHT

ungleich GmbH 2021
