pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Russ McBride <Russ@psyex.com>
Cc: nickf@ontko.com
Cc: pgsql-admin@postgresql.org
Subject: Re: authentication problems
Date: Sat, 29 Sep 2001 23:28:39 -0400
Message-ID: <530.1001820519@sss.pgh.pa.us> (raw)
In-Reply-To: <v04210102b7dc3f72b303@[64.170.120.144]>
References: <NEBBLAAHGLEEPCGOBHDGCEKBDLAA.nickf@ontko.com>
	<v04210103b7dc258398f3@[64.170.120.108]>
	<358.1001818864@sss.pgh.pa.us>
	<v04210102b7dc3f72b303@[64.170.120.144]>

Russ McBride <Russ@psyex.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



view thread (18+ messages)  latest in thread

Message-ID: <530.1001820519@sss.pgh.pa.us>
Permalink:  ../530.1001820519@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/530.1001820519@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Russ@psyex.com, nickf@ontko.com
  Subject: Re: authentication problems
  In-Reply-To: <530.1001820519@sss.pgh.pa.us>
  References: <NEBBLAAHGLEEPCGOBHDGCEKBDLAA.nickf@ontko.com> <v04210103b7dc258398f3@[64.170.120.108]> <358.1001818864@sss.pgh.pa.us> <v04210102b7dc3f72b303@[64.170.120.144]> <530.1001820519@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox