[ehn] Add missing helper ynh_mysql_drop_user

This commit is contained in:
Jocelyn Delalande 2017-06-19 01:41:09 +02:00
parent 987fab1c5c
commit 530171fb57
2 changed files with 9 additions and 0 deletions

View file

@ -39,6 +39,11 @@ ynh_mysql_drop_db DB
``` ```
> Delete the `DB` database. > Delete the `DB` database.
```bash
ynh_mysql_drop_user USERNAME
```
> Delete the `USERNAME` MySQL user.
```bash ```bash
ynh_mysql_dump_db DB > ./FILE ynh_mysql_dump_db DB > ./FILE
``` ```

View file

@ -43,6 +43,10 @@ ynh_mysql_drop_db DB
``` ```
> Supprime la base de données `DB`. > Supprime la base de données `DB`.
```bash
ynh_mysql_drop_user USERNAME
```
> Supprime l'utilisateur MySQL `USERNAME` MySQL.
```bash ```bash
ynh_mysql_dump_db DB > ./FILE ynh_mysql_dump_db DB > ./FILE