mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
[ehn] Add missing helper ynh_mysql_drop_user
This commit is contained in:
parent
987fab1c5c
commit
530171fb57
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue