Re: problem with jdbc connection to postgesql

From: Dirk Försterling <r(at)zorbla(dot)de>
To: pcampaigne(at)charter(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: problem with jdbc connection to postgesql
Date: 2004-02-03 17:41:15
Message-ID: 401FDD3B.9090004@zorbla.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Phil Campaigne wrote:
> my psql client I type psql and then I am asked for my password. This
> logs me into my hosted database just fine.

Ok. This is probably localhost, 127.0.0.1 and the username defaults
to your login name.

> However, I can't log on from my webapp to the database thru jdbc like I
---------8<---------
> >java.sql.SQLException: FATAL 1: Password authentication failed for
> >user "xxxxxx"
> >So, it looks like it is trying to connect using username xxxxxx,
> >not password yyyyyy.

I don't think so. What happens if you try using your login name as
username?

-dirk

--
D i r k F "o r s t e r l i n g
r(at)zorbla(dot)de http://r(at)zorbla(dot)de/
-------------
This is robbery-mail(tm). Reply all your money immediately!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Addleman 2004-02-03 18:16:07 Re: Pl/tcl auto-load problem
Previous Message Chris Gamache 2004-02-03 16:29:24 Re: Copy and xml files