Re: [QUESTIONS] postgresql-6.3 and jdbc -i not the problem

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: "Stephan B(dot) Doliov" <doliov(at)statsol(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [QUESTIONS] postgresql-6.3 and jdbc -i not the problem
Date: 1998-03-13 19:40:45
Message-ID: Pine.NEB.3.95.980313144024.468H-100000@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


Redirected to 'the proper list' - pgsql-interfaces(at)postgresql(dot)org

On Fri, 13 Mar 1998, Stephan B. Doliov wrote:

> On Fri, 13 Mar 1998, e. lambrecht wrote:
>
> > Start the postmaster with the '-i' option to enable connections via
> > sockets. The new server defaults to using unix domain sockets, which
> > jdbc doesn't use. I had the same problem - drove me crazy for a while.
> >
> ugh. i thought i said in the post that i was using the -i option, still
> the same problem though.
>
> ps -ef | grep postm
> postgres 4038 1 0 13:50:16 pts/4 0:00
> /opt/postgres/bin/postmaster -i
>
> so there you have it. am i specifying the url incorrectly. i am trying
> java basic.java jdbc:postgresql:funnystuff doliov xxxxxx
>
> also trying
> java basic.java jdbc:postgresl:funnystuff?auth=password doliov xxxxxx
>
> results in the same error message (connection refused). and the postmaster
> log confirms the authentication failure with:
> User authentication failed
>
> (btw, i am running the java program from the jdbc/example directory, with
> calss path set approately. java has no problem loading the driver).
>
> tia,
> steve
>
> btw: for anyone who is willing to try this, i've set up a guest user with
> password guest who as read and write access to this database (funnystuff -
> two tables, two or thre rows each).
>
> my ip address (fixed is 198.11.51.133).
>
> lemme know if this helps.
>
> thanks,
> steve
>
> --
> Official WWW Site: http://www.postgresql.org
> Online Docs & FAQ: http://www.postgresql.org/docs
> Searchable Lists: http://www.postgresql.org/mhonarc
>

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Stephan B. Doliov 1998-03-13 20:20:05 SUBSCRIBE
Previous Message Constantin Teodorescu 1998-03-13 19:27:16 Re: [INTERFACES] Re: pgaccess: I can't save a view