Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id F38DD9FC199 for ; Fri, 1 Jun 2007 00:39:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 05903-02 for ; Fri, 1 Jun 2007 00:38:59 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id F148D9FC178 for ; Fri, 1 Jun 2007 00:38:57 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from webmail.imtech.res.in (unknown [59.160.112.41]) by svr4.postgresql.org (Postfix) with ESMTP id CCF6E5AF890 for ; Fri, 1 Jun 2007 03:38:55 +0000 (GMT) Received: from webmail.imtech.res.in (localhost [127.0.0.1]) by webmail.imtech.res.in (8.13.1/8.13.1) with ESMTP id l513WoHq011316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 1 Jun 2007 09:02:50 +0530 Received: (from apache@localhost) by webmail.imtech.res.in (8.13.1/8.13.1/Submit) id l513WnNd011315; Fri, 1 Jun 2007 09:02:49 +0530 From: Mamoon Rashid X-Authentication-Warning: webmail.imtech.res.in: apache set sender to mamoon@imtech.res.in using -f Received: from 59.160.112.41 (proxying for 172.141.127.57) (SquirrelMail authenticated user mamoon) by webmail.imtech.res.in with HTTP; Fri, 1 Jun 2007 09:02:49 +0530 (IST) Message-ID: <39678.59.160.112.41.1180668769.squirrel@webmail.imtech.res.in> In-Reply-To: <32248102.110641180603003885.JavaMail.www@wwinf6302> References: <32248102.110641180603003885.JavaMail.www@wwinf6302> Date: Fri, 1 Jun 2007 09:02:49 +0530 (IST) Subject: Re: jdbc connection To: pgsql-jdbc@postgresql.org User-Agent: SquirrelMail/1.4.6-7.el4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.136 tagged_above=0 required=5 tests=BAYES_50=0.001, FORGED_RCVD_HELO=0.135 X-Spam-Level: X-Archive-Number: 200706/1 X-Sequence-Number: 17063 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 >