From: Mamoon Rashid <mamoon@imtech.res.in>
To: pgsql-jdbc@postgresql.org
Subject: Re: jdbc connection
Date: Fri, 1 Jun 2007 09:02:49 +0530 (IST)
Message-ID: <39678.59.160.112.41.1180668769.squirrel@webmail.imtech.res.in> (raw)
In-Reply-To: <32248102.110641180603003885.JavaMail.www@wwinf6302>
References: <32248102.110641180603003885.JavaMail.www@wwinf6302>
hi nico,
please check your URL supplied during connection.you have given
URL= "jdbc:postgresql://localhost:5432/postgres"
1.you are assuming your database name as "postgres", plz check this should
be the actual name of your database.
If i am correct u supplied USERID = "postgres" and PASSWD= "showan2000".it
seems ok.
2. Do one more thing, replace localhost with [::1].
if all other things are ok your problem probably lies in connection.
Plz report me whether it worked or not.
mamoon
> 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?
>
> Thank you,
> Nico Khodabakhsh
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
> http://www.postgresql.org/about/donate
>
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: mamoon@imtech.res.in
Subject: Re: jdbc connection
In-Reply-To: <39678.59.160.112.41.1180668769.squirrel@webmail.imtech.res.in>
References: <32248102.110641180603003885.JavaMail.www@wwinf6302> <39678.59.160.112.41.1180668769.squirrel@webmail.imtech.res.in>
* 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