Gevonden routebeschrijving:
sudo su postgres
wijzigen /Bibliotheek/PostgreSQL/9.2/data/pg_hba.conf
-local all all md5
+local all all trust
herstart postgre
/Library/PostgreSQL/9.2/bin/pg_ctl restart -D /Library/PostgreSQL/9.2/data/
Verbinding maken met postgre:
psql
Binnen psql (\q
om te stoppen):
ALTER USER postgres WITH ENCRYPTED PASSWORD 'password';
wijzig pg_hba.conf terug
+local all all md5
-local all all trust
herstart postgre
/Library/PostgreSQL/9.2/bin/pg_ctl restart -D /Library/PostgreSQL/9.2/data/