Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a4E7Z-0003NH-J5 for pgsql-jdbc@arkaria.postgresql.org; Wed, 02 Dec 2015 20:35:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a4E7Y-0002ol-T9 for pgsql-jdbc@arkaria.postgresql.org; Wed, 02 Dec 2015 20:35:24 +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 1a4E7Y-0002oT-Dz for pgsql-jdbc@postgresql.org; Wed, 02 Dec 2015 20:35:24 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1a4E7V-0004Jd-4x for pgsql-jdbc@postgresql.org; Wed, 02 Dec 2015 20:35:23 +0000 Received: by wmec201 with SMTP id c201so271778709wme.0 for ; Wed, 02 Dec 2015 12:35:20 -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=0e5BWj4saeHHxjQV0qEABjf0I71SMrdvxSCN2qM1qQk=; b=Yla/0hCgUV/fJj2AFthFagko3R+iR7uAzYfXefFWqrlX1WNI2n/BI011Ob5sT/2Z1j 2HMXy90a9zJO1e1zDeQDTEkyWqXWW1UzsaH0U2/gWH7tJJNbLNeIV5xQ4BWjdVLJbRDJ aYo0Lm/LCvZJb8GzvCyzV2znmeUn42XKq6BQI6xrImveBcg0YlToWCJXiamjj/Z6ktHG TZqCG35FqV8pc2Q2cLAx+fdQRqNY0kzmZM4aieGNC9zaWQGKJO6SsaTjEO3gB+NtzKs3 IWSKqKW7V7m9EPThgPUc4neC+UsnY5WtXP2tBBsEKGsRMaQBat2BsGNvKtkaHBU1MGh7 6BcQ== X-Received: by 10.194.8.35 with SMTP id o3mr6972795wja.153.1449088520458; Wed, 02 Dec 2015 12:35:20 -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 b84sm4772976wmh.15.2015.12.02.12.35.19 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Dec 2015 12:35:19 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_9432A012-B0FA-483C-B396-CD4401D560A8" 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 20:35:18 +0000 Cc: John R Pierce , List Message-Id: 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=_9432A012-B0FA-483C-B396-CD4401D560A8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 2 Dec 2015, at 20:18, Dave Cramer wrote: >=20 > Can you try a very simple JDBC program to see if you can connect ? >=20 > Dave Cramer Could you please suggest one already compiled? I=E2=80=99m not a java programmer and it=E2=80=99s been hell on rather = to compile even the simplest java source file due to dependency issues. >=20 > davec@postgresintl.com > www.postgresintl.com > On 2 December 2015 at 14:57, John R Pierce > wrote: > On 12/2/2015 11:55 AM, Nuno Zimas wrote: > psql always connects successfully no matter what. > As for JDBC, we get the same results with or without ssl=3Dtrue = explicitly appended to the URL. > What truly baffles me is that ye exact same java application works = with no hiccups against a quasi-vanilla pgsql backend i=E2=80=99ve = installed on windows 10. > So far, the only visible difference I found is in the values for = LC_COLLATE and LC_TYPE, which is V on the remote pgsql instances and = English_United States.1252 on the local pgsql instance. > Not sure how tis would affect accessing the DBs, though. >=20 > can you connect using psql on the windows system to the ubuntu hosted = database? >=20 >=20 >=20 > --=20 > john r pierce, recycling bits in santa cruz >=20 >=20 >=20 > --=20 > Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org = ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-jdbc = >=20 --Apple-Mail=_9432A012-B0FA-483C-B396-CD4401D560A8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On 2 Dec 2015, at 20:18, Dave Cramer <pg@fastcrypt.com> = wrote:

Can you try a very simple JDBC program to see if = you can connect ?

Dave Cramer

Could you please suggest one already = compiled?
I=E2=80=99m not a java programmer and it=E2=80=99s = been hell on rather to compile even the simplest java source file due to = dependency issues.


On 2 December 2015 at 14:57, = John R Pierce <pierce@hogranch.com> wrote:
On = 12/2/2015 11:55 AM, Nuno Zimas wrote:
psql always connects successfully no matter what.
As for JDBC, we get the same results with or without ssl=3Dtrue = explicitly appended to the URL.
What truly baffles me is that ye exact same java application works with = no hiccups against a quasi-vanilla pgsql backend i=E2=80=99ve installed = on windows 10.
So far, the only visible difference I found is in the values for = LC_COLLATE and LC_TYPE, which is V on the remote pgsql instances and = English_United States.1252 on the local pgsql instance.
Not sure how tis would affect accessing the DBs, though.

can you connect using psql on the windows system to the ubuntu hosted = database?



--
john r pierce, recycling bits in santa cruz



--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc


= --Apple-Mail=_9432A012-B0FA-483C-B396-CD4401D560A8--