Re: authentication problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Russ McBride <Russ(at)psyex(dot)com>
Cc: nickf(at)ontko(dot)com, pgsql-admin(at)postgresql(dot)org
Subject: Re: authentication problems
Date: 2001-09-30 03:28:39
Message-ID: 530.1001820519@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Russ McBride 2001-09-30 03:29:47 Re: authentication problems
Previous Message Tom Lane 2001-09-30 03:01:04 Re: authentication problems