]>
Git — Sourcephile - gargantext.git/blob - bin/psql
6 grep $1 $INIFILE | sed "s/^.*= //"
10 USER
=$(getter "DB_USER")
11 NAME
=$(getter "DB_NAME")
12 PASS
=$(getter "DB_PASS")
13 HOST
=$(getter "DB_HOST")
14 PORT
=$(getter "DB_PORT")
15 psql
"postgresql://${USER}:${PASS}@${HOST}:${PORT}/${NAME}"
19 then echo "USAGE : ./psql gargantext.ini"