Direcciones encontradas:
sudo su postgres
modificar /Library/PostgreSQL/9.2/data/pg_hba.conf
-local all all md5
+local all all trust
reiniciar postgres
/Library/PostgreSQL/9.2/bin/pg_ctl restart -D /Library/PostgreSQL/9.2/data/
Conéctese a postgres:
psql
Dentro de psql (\q
para salir):
ALTER USER postgres WITH ENCRYPTED PASSWORD 'password';
modificar pg_hba.conf atrás
+local all all md5
-local all all trust
reiniciar postgres
/Library/PostgreSQL/9.2/bin/pg_ctl restart -D /Library/PostgreSQL/9.2/data/