Re: problem with jdbc connection to postgesql - Mailing list pgsql-general

From Dirk Försterling
Subject Re: problem with jdbc connection to postgesql
Date
Msg-id 401FDD3B.9090004@zorbla.de
Whole thread Raw
In response to problem with jdbc connection to postgesql  (Phil Campaigne <pcampaigne@charter.net>)
List 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@zorbla.de  http://r@zorbla.de/
                             -------------
     This is robbery-mail(tm). Reply all your money immediately!


pgsql-general by date:

Previous
From: Chris Gamache
Date:
Subject: Re: Copy and xml files
Next
From: Craig Addleman
Date:
Subject: Re: Pl/tcl auto-load problem