X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8A795D1B1D1 for ; Sun, 11 Jul 2004 22:54:15 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 57736-04 for ; Mon, 12 Jul 2004 01:54:14 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 8E098D1B19A for ; Sun, 11 Jul 2004 22:54:05 -0300 (ADT) Received: (qmail 5725 invoked by uid 1112); 12 Jul 2004 01:54:07 -0000 Date: Sun, 11 Jul 2004 20:54:07 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Eric Wright Cc: pgsql-jdbc@postgresql.org Subject: Re: JDBC Connection In-Reply-To: <001c01c46785$5a943470$6601a8c0@numbertwo> Message-ID: References: <001c01c46785$5a943470$6601a8c0@numbertwo> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/105 X-Sequence-Number: 10489 On Sun, 11 Jul 2004, Eric Wright wrote: > Hello, > > I am having some trouble connecting to my postgres database. I have > started off with a simple test class to make and test a connection. When > I run the simple tester I am getting the following output: > > The connection failed. > java.sql.SQLException: No suitable driver > String url = "jdbc:postgres://192.168.1.101/asset"; The URL must start with jdbc:postgresql not postgres. Kris Jurka