Per prima cosa verifica che in effetti il DB sia in esecuzione.
Quindi eccoti la mia configurazione in Mac OS X 10.4.11 ("pg_hba.conf"):
codice:
# CAUTION: Configuring the system for local "trust" authentication allows
# any local user to connect as any PostgreSQL user, including the database
# superuser. If you do not trust all your local users, use another
# authentication method.
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
poi puoi "giocartela" con il "metodo" md5.