Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Russ McBrideDate: 2001-09-30 03:29:47
Subject: Re: authentication problems
Previous:From: Tom LaneDate: 2001-09-30 03:01:04
Subject: Re: authentication problems

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group