Received: from ns1.arlut.utexas.edu (ns1.arlut.utexas.edu [129.116.224.2]) by hub.org (8.9.1/8.9.1) with ESMTP id OAA07707 for ; Sun, 24 Jan 1999 14:27:07 -0500 (EST) (envelope-from sinclair@arlut.utexas.edu) Received: from mercutio (mercutio.arlut.utexas.edu [129.116.128.48]) by ns1.arlut.utexas.edu (8.9.1a/8.9.1) with SMTP id NAA12874 for ; Sun, 24 Jan 1999 13:26:59 -0600 (CST) Message-Id: <3.0.2.32.19990124131252.0095edd0@arlut.utexas.edu> X-Sender: sinclair@arlut.utexas.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32) Date: Sun, 24 Jan 1999 13:12:52 +0000 To: pgsql-interfaces@postgresql.org From: Chris Sinclair Subject: JDBC "User authentication failed" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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