pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guy Rouillier <guyr-ml1@burntmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: jdbc connection
Date: Thu, 31 May 2007 19:37:04 -0400
Message-ID: <465F5C20.7020504@burntmail.com> (raw)
In-Reply-To: <32248102.110641180603003885.JavaMail.www@wwinf6302>
References: <32248102.110641180603003885.JavaMail.www@wwinf6302>

N. Khodabakhsh wrote:
> Hello,
> 
> I have downloaded the postgresql 8.2 and wanted to make a connection 
> with it. i get error like unknown source.
> i send u herewith the source code (see attach). can you help me to fixe it?

You're question is rather generic, and you didn't provide a useful error 
message.  So helping is rather difficult.  What exact error are you 
receiving?  Your code looks okay.  Since you are specifying "localhost", 
is it safe to assume you are running this code on the same box running 
PostgreSQL?  Have you verified using psql that you can connect to the 
target database using the userid and password you have in this code?

-- 
Guy Rouillier



view thread (19+ messages)  latest in thread

Message-ID: <465F5C20.7020504@burntmail.com>
Permalink:  ../465F5C20.7020504@burntmail.com/
Also on:    postgresql.org/message-id/465F5C20.7020504@burntmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: guyr-ml1@burntmail.com
  Subject: Re: jdbc connection
  In-Reply-To: <465F5C20.7020504@burntmail.com>
  References: <32248102.110641180603003885.JavaMail.www@wwinf6302> <465F5C20.7020504@burntmail.com>

* 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