postgresql

Ceci est une ancienne révision du document !


autoriser l'authentification mar login / password

vim /etc/postgresql/x.x/main/pg_hba.conf
ajouter
local all all md5
host all all 127.0.0.1/32 md5
host all all ::1/128 md5

service postgresql restart

créer un utilisateur (admin si besoin)

sudo -i -u postgres
createuser -P –interactive <nom_utilisateur>

  • postgresql.1558968816.txt.gz
  • Dernière modification: 2023/05/08 01:41
  • (modification externe)