X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id A08BC9DC80D for ; Fri, 10 Mar 2006 03:44:52 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89703-02 for ; Fri, 10 Mar 2006 03:44:52 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web8402.mail.in.yahoo.com (web8402.mail.in.yahoo.com [202.43.219.150]) by postgresql.org (Postfix) with SMTP id F37079DCB50 for ; Fri, 10 Mar 2006 03:44:47 -0400 (AST) Received: (qmail 76177 invoked by uid 60001); 10 Mar 2006 07:44:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OUdtPVY955TJKzTBOI6q6m7v1wPdKiAt3hWFKPPZGuKQSMfUYttWSAeeAYeeevTNO68V24pI599b4v3pEXxCjQt1T1GL3akDu/ogsTigX80JTtDov3ASkwlho/Sry/tZq8A6imXc57n4oY7z8moP5J6wmBrpwYREK+D21SM70eo= ; Message-ID: <20060310074447.76175.qmail@web8402.mail.in.yahoo.com> Received: from [220.226.177.74] by web8402.mail.in.yahoo.com via HTTP; Thu, 09 Mar 2006 23:44:47 PST Date: Thu, 9 Mar 2006 23:44:47 -0800 (PST) From: Yunush Mulla Subject: java.sql.SQLException: No suitable driver To: PG Sql MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-286777000-1141976687=:74694" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=2.226 required=5 tests=[AWL=-1.026, DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44, HTML_MESSAGE=0.001, RCVD_IN_BL_SPAMCOP_NET=1.332] X-Spam-Score: 2.226 X-Spam-Level: ** X-Archive-Number: 200603/50 X-Sequence-Number: 14831 --0-286777000-1141976687=:74694 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I m developing a application in which i need to connect to postgres Database lying on remote host. when I tried to connect to remote database Using following code: connection=DriverManager.getConnection("jdbc:postgresql://"+host+":"+port+"/sms",user,pwd); I got error like this: java.sql.SQLException: No suitable driver what could be the cause? What could be the solution??? --------------------------------- Relax. Yahoo! Mail virus scanning helps detect nasty viruses! --0-286777000-1141976687=:74694 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi,
I m developing a application in which  i need to connect to postgres Database lying on remote host.
when I tried to connect to remote database Using following code:

connection=DriverManager.getConnection("jdbc:postgresql://"+host+":"+port+"/sms",user,pwd);

 I got error like this:
java.sql.SQLException: No suitable driver

what could be the cause? What could be the solution???


Relax. Yahoo! Mail virus scanning helps detect nasty viruses! --0-286777000-1141976687=:74694--