pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brian Cross <bscross@us.ibm.com>
To: pgsql-interfaces@postgresql.org
Subject: Can't connect to Postgres with JDBC
Date: Mon, 19 Jan 1998 13:15:37 -0500
Message-ID: <5040200010492297000002L072*@MHS> (raw)

Hi,

          I'm trying to connect to my postgres database(that came with RedHat
5.0) with an applet using JDBC.  The driver seems to be loading fine, but I
receive this error when starting the applet:

java.sql.SQLException: Failed to authenticate client as Postgres user 'bscross'
using the default authentication type: be_recvauth: host-based authentication
failed.

The bscross user is both a system user and one I created in postgres.
Do I need to change the authentication type, and if so what does it need to be?

I have read every FAQ and HOWTO I could find with no luck.  I would be forever
in debt if someone could help me out with this.  Thanks!

--Brian Cross.



view thread (2+ messages)  latest in thread

Message-ID: <5040200010492297000002L072*@MHS>
Permalink:  ../5040200010492297000002L072%2A@MHS/
Also on:    postgresql.org/message-id/5040200010492297000002L072*@MHS

 · 

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: bscross@us.ibm.com
  Subject: Re: Can't connect to Postgres with JDBC
  In-Reply-To: <5040200010492297000002L072*@MHS>

* 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