aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-05-19 18:29:04 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-05-19 18:29:04 +0200
commit2781313fd2d2cfd3fbbc17079757c2bd99ade5bd (patch)
tree82b2b764d1adc1c4963df20fe7cc3c902253327f /src
parent7530be2ac1bd9cb62aafce640950fe02aa2581f1 (diff)
downloadsite-2781313fd2d2cfd3fbbc17079757c2bd99ade5bd.tar.gz
site-2781313fd2d2cfd3fbbc17079757c2bd99ade5bd.zip
Add dbname on cli
Diffstat (limited to 'src')
-rw-r--r--src/Technique/Operations/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Technique/Operations/index.md b/src/Technique/Operations/index.md
index 0b4c60d..d0498b9 100644
--- a/src/Technique/Operations/index.md
+++ b/src/Technique/Operations/index.md
@@ -7,5 +7,5 @@
5. Créer l'utilisateur `CREATE USER <username>;`
6. (Optionnel) Lui créer une base de données : `CREATE DATABASE <dbname> OWNER <username>`
7. (Optionnel) Lui donner les privileges appropriés, eg. `GRANT READ PRIVILEGES ON DATABASE <anotherdbname> TO <username>;`
- 8. Vérifier les permissions : `psql -h psql-proxy.service.2.cluster.deuxfleurs.fr -U <username>`
+ 8. Vérifier les permissions : `psql -h psql-proxy.service.2.cluster.deuxfleurs.fr -U <username> <dbname>`