From: | Russ McBride <Russ(at)psyex(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | nickf(at)ontko(dot)com, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: authentication problems |
Date: | 2001-09-30 03:56:29 |
Message-ID: | v04210103b7dc469a6205@[64.170.120.144] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Typing "/usr/local/pgsql/bin/psql -h localhost testdb" starts up my
database in psql quite nicely, which seems to indicate to me that the
pg_hba.conf is being read and the line:
local all trust
is working as expected (I assume that this is the line that allows
all local UNIX socket connections).
Hmmm. Perhaps the host line working fine for ip connections as well,
but something is going wrong in the JDBC-specific ip connections. Is
there a way to make a local ip connection instead of a UNIX socket
connection with psql?
best,
Russ
>Russ McBride <Russ(at)psyex(dot)com> writes:
> > I typed "/usr/local/pgsql/bin/psql -h localhost" and
> > "/usr/local/pgsql/bin/psql -h 127.0.0.1" and they both returned the
> > same (odd) message:
>
> > psql: FATAL 1: database "postgres" does not exist in the system catalog
>
>Nothing odd about that: the database name is defaulting to your PG user
>name, evidently postgres. Try "psql -h localhost databasename" for
>some valid database name. The important thing about this message is
>that you are getting past the pg_hba.conf check, so this *is* forward
>progress.
>
> regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org
From | Date | Subject | |
---|---|---|---|
Next Message | Stefan Huber | 2001-09-30 08:32:30 | Re: authentication problems |
Previous Message | Tom Lane | 2001-09-30 03:55:51 | Re: authentication problems |