JDBC "User authentication failed"

From: Chris Sinclair <sinclair(at)arlut(dot)utexas(dot)edu>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: JDBC "User authentication failed"
Date: 1999-01-24 13:12:52
Message-ID: 3.0.2.32.19990124131252.0095edd0@arlut.utexas.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Adam Williams 1999-01-24 19:42:29 PGAccess Question
Previous Message Peter T Mount 1999-01-24 12:17:06 Re: [INTERFACES] JDBC throws with error code 0