pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Sinclair <sinclair@arlut.utexas.edu>
To: pgsql-interfaces@postgresql.org
Subject: JDBC "User authentication failed"
Date: Sun, 24 Jan 1999 13:12:52 +0000
Message-ID: <3.0.2.32.19990124131252.0095edd0@arlut.utexas.edu> (raw)


Every time I try to connect to a postgresql database via JDBC I get a
"java.sql.Exception: User authentication failed"

I have configured pg_hba.conf as follows:

host	all	127.0.0.1	255.255.255.255 	trust

I have also tried:

host	all	127.0.0.1	255.255.255.255	password 	passwd

after creating a new user and specifying their password in $PGDATA/passwd

The postmaster is running with the -i option, and I know that it is
listening to the port because I can see the "User Authentication Failed"
message pop up in nohup.out (where the output from postmaster/nohup is piped).

Anybody have an idea of what I am doing wrong?  Any help would be appreciated.

thx.
-=Chris



Message-ID: <3.0.2.32.19990124131252.0095edd0@arlut.utexas.edu>
Permalink:  ../3.0.2.32.19990124131252.0095edd0@arlut.utexas.edu/
Also on:    postgresql.org/message-id/3.0.2.32.19990124131252.0095edd0@arlut.utexas.edu

 · 

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-interfaces@postgresql.org
  Cc: sinclair@arlut.utexas.edu
  Subject: Re: JDBC "User authentication failed"
  In-Reply-To: <3.0.2.32.19990124131252.0095edd0@arlut.utexas.edu>
  References: <3.0.2.32.19990124131252.0095edd0@arlut.utexas.edu>

* 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