Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a4FDC-0006Om-Dx for pgsql-jdbc@arkaria.postgresql.org; Wed, 02 Dec 2015 21:45:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a4FDC-000523-0a for pgsql-jdbc@arkaria.postgresql.org; Wed, 02 Dec 2015 21:45:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a4FCg-00040P-9D for pgsql-jdbc@postgresql.org; Wed, 02 Dec 2015 21:44:46 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1a4FCd-0005q5-EK for pgsql-jdbc@postgresql.org; Wed, 02 Dec 2015 21:44:45 +0000 Received: by wmvv187 with SMTP id v187so275930271wmv.1 for ; Wed, 02 Dec 2015 13:44:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=kRI8JzqVQT3cQr4IIX8UBn9181y34BvZujerT4lVyU8=; b=NqXmjLijK+bgowH+P4QCsfyrNjmig3uJLyfkEZg0efHqViW1IrJx+KOpMVflonrCmJ +As38o1P+2g+p3BgAOlDIzGknjX3eDZa+AkvLyaxqig0us9q24oHsuxolzwXlIBZ1dFD IfQxqzl+mXI3SERNfmz+egSiux/gNQYWijjCBq0Ih/XHpoFQ8BMoA1KlZWykAYpOApwn Oe2PgR8qXIJFKL/iXKuf2WxzEgbKsticPSEZN9T7hnUrwOJ93POkt21bBh3V2AddQxsT 1hpiyuvGfQfNdJ0fwMhV0qNpUMsYwb5Ku+n/8lKXGIro7Fl8Yo9GIP0/LQa816TtIAkT twkg== X-Received: by 10.194.236.6 with SMTP id uq6mr7252705wjc.126.1449092682253; Wed, 02 Dec 2015 13:44:42 -0800 (PST) Received: from [192.168.1.66] (123.209.115.89.rev.vodafone.pt. [89.115.209.123]) by smtp.gmail.com with ESMTPSA id vu4sm4585778wjc.2.2015.12.02.13.44.41 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Dec 2015 13:44:41 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_8C35EE2F-6394-4C02-BF34-AAF3A0DA76A0" Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: user can't access own database after creation From: Nuno Zimas In-Reply-To: Date: Wed, 2 Dec 2015 21:44:40 +0000 Cc: John R Pierce , List Message-Id: <00A2FA5A-3C2A-40CD-9174-EBCC14164B74@gmail.com> References: <25B91293-CCF8-42D9-B4ED-19DF36AA881C@gmail.com> <565F4D26.1050501@hogranch.com> To: Dave Cramer X-Mailer: Apple Mail (2.3096.5) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org --Apple-Mail=_8C35EE2F-6394-4C02-BF34-AAF3A0DA76A0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Thanks Dave. It was missing the db bit. Now it executes silently and there are no vestiges on the pgsql log. Guess it means that it=E2=80=99s working, but should=E2=80=99t pgqsl log = the select statement? > On 2 Dec 2015, at 21:15, Nuno Zimas wrote: >=20 > root@aida2next /u/2next# java -cp = /usr/2next/libs/jdbc/postgresql-9.4-1201.jdbc4.jar:./ TestUrl > Exception in thread "main" java.sql.SQLException: No suitable driver = found for jdbc:postgresql://10.10.10.100 > at java.sql.DriverManager.getConnection(DriverManager.java:689) > at java.sql.DriverManager.getConnection(DriverManager.java:247) > at TestUrl.main(TestUrl.java:10) --Apple-Mail=_8C35EE2F-6394-4C02-BF34-AAF3A0DA76A0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Thanks Dave.
It was missing the db bit.

Now it executes = silently and there are no vestiges on the pgsql log.
Guess it means that = it=E2=80=99s working, but should=E2=80=99t pgqsl log the select = statement?

On 2 Dec 2015, at 21:15, Nuno Zimas <nzimas@gmail.com> = wrote:

root@aida2next /u/2next# = java -cp /usr/2next/libs/jdbc/postgresql-9.4-1201.jdbc4.jar:./ = TestUrl
Exception in thread "main" java.sql.SQLException: No = suitable driver found for jdbc:postgresql://10.10.10.100
at = java.sql.DriverManager.getConnection(DriverManager.java:689)
at = java.sql.DriverManager.getConnection(DriverManager.java:247)
at = TestUrl.main(TestUrl.java:10)

= --Apple-Mail=_8C35EE2F-6394-4C02-BF34-AAF3A0DA76A0--