pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Doug Thistlethwaite <doug.t@deltanet.com>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] jdbc interface problems with jdk1.2
Date: Tue, 20 Jul 1999 10:18:45 -0400
Message-ID: <29471.932480325@sss.pgh.pa.us> (raw)
In-Reply-To: <379414B2.FC67F452@deltanet.com>

Doug Thistlethwaite <doug.t@deltanet.com> writes:
> Password authentication failed for user 'doug'
>
> Does anybody have an idea of what I can try to get this working?

This tells you you are getting pretty far: you are making a TCP
connection, and the postmaster is recognizing that the entry for
your IP address in pg_hba demands password authentication.  So,
either you are supplying the wrong password from the client end,
or something's wrong with the password file.

There might be more info in the postmaster log file than is reported
to the client --- did you look there?

One potential typo stands out in your message:

> The password file was created using the command pg_passwd
> /var/postgresql/passwd
       ^^^^^^^^^^
> host         doug        IP.ADDRESS.OF PC 255.255.255.0  password
> /var/postgres/passwd
       ^^^^^^^^

Prolly that's just a transcription error in your message, but if
it's real...

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <29471.932480325@sss.pgh.pa.us>
Permalink:  ../29471.932480325@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29471.932480325@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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, doug.t@deltanet.com
  Subject: Re: [INTERFACES] jdbc interface problems with jdk1.2
  In-Reply-To: <29471.932480325@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