Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZH8RH-00018q-20 for pgsql-odbc@arkaria.postgresql.org; Mon, 20 Jul 2015 10:36:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZH8RG-0001PQ-KT for pgsql-odbc@arkaria.postgresql.org; Mon, 20 Jul 2015 10:36:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZH8Qs-0000sr-OD for pgsql-odbc@postgresql.org; Mon, 20 Jul 2015 10:36:26 +0000 Received: from mail.verishare.co.za ([217.29.208.2]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZH8Qn-0002d7-UF for pgsql-odbc@postgresql.org; Mon, 20 Jul 2015 10:36:24 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.verishare.co.za (Postfix) with ESMTP id CEBE742177C for ; Mon, 20 Jul 2015 12:36:14 +0200 (SAST) Received: from mail.verishare.co.za ([127.0.0.1]) by localhost (mail.verishare.co.za [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 9w2Zq8sMjCN8; Mon, 20 Jul 2015 12:36:14 +0200 (SAST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.verishare.co.za (Postfix) with ESMTP id 8576D422356; Mon, 20 Jul 2015 12:36:14 +0200 (SAST) X-Virus-Scanned: amavisd-new at verishare.co.za Received: from mail.verishare.co.za ([127.0.0.1]) by localhost (mail.verishare.co.za [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PpEXa0IvqMEH; Mon, 20 Jul 2015 12:36:14 +0200 (SAST) Received: from STEFANPC (unknown [172.16.1.76]) by mail.verishare.co.za (Postfix) with ESMTPSA id 68B6242177C for ; Mon, 20 Jul 2015 12:36:14 +0200 (SAST) From: "Stefan Viljoen" To: References: <000b01d0c066$c58f3b80$50adb280$@verishare.co.za> <55A8BF02.4090001@lurcher.org> <002701d0c07f$bd09f3b0$371ddb10$@verishare.co.za> <55A8E0B8.3070107@lurcher.org> <002e01d0c088$c6b57390$54205ab0$@verishare.co.za> <55A8F948.9040407@lurcher.org> <002f01d0c090$da03cc50$8e0b64f0$@verishare.co.za> <55A905FA.2080701@aklaver.com> <003001d0c099$e21a7b60$a64f7220$@verishare.co.za> <55A90E6A.4030802@lurcher.org>, <003201d0c09f$b1ece5d0$15c6b170$@verishare.co.za> <55BAADA01D8C504993894EAEA7517CF8124630@003FCH1MPN2-002.003f.mgd2.msft.net> <000d01d0c2b8$a8f146e0$fad3d4a0$@verishare.co.za> In-Reply-To: <000d01d0c2b8$a8f146e0$fad3d4a0$@verishare.co.za> Subject: Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client Date: Mon, 20 Jul 2015 12:39:27 +0200 Message-ID: <004501d0c2d8$5a4cc710$0ee65530$@verishare.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIlJsTM6eABCGiGgETx/eeRTV0aKQD+sBlEAd+uLVACvS0eZwIDK6DSAbi5yQACNRVlIgKyOovEAwQzP6cC5YclzgJpmRobAc/BjzoBf0NcH5xsWDQQ Content-Language: en-za X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org Hi again Jeremy >>Is your PGHOST environment variable set? >My PGHOST environment variable is NOT set. >Should I set it to 127.0.0.1 or to localhost? I have tried with both PGHOST set to 127.0.0.1 and set to localhost still getting the same error with isql: --- [root@jhbasterisk pg_log]# export PGHOST='127.0.0.1' [root@jhbasterisk pg_log]# set | grep PGHOST PGHOST=127.0.0.1 _=PGHOST [root@jhbasterisk pg_log]# isql -v pgdb-cdr asteriskcdruser pword [S1000][unixODBC]The database does not exist on the server or user authentication failed. [ISQL]ERROR: Could not SQLConnect [root@jhbasterisk pg_log]# export PGHOST='localhost' [root@jhbasterisk pg_log]# set | grep PGHOST PGHOST=localhost _=PGHOST [root@jhbasterisk pg_log]# isql -v pgdb-cdr asteriskcdruser 1ndestruc# [S1000][unixODBC]The database does not exist on the server or user authentication failed. [ISQL]ERROR: Could not SQLConnect [root@jhbasterisk pg_log]# --- psql itself is still working fine... Is there any way I can get more resolution on "the database does not exist on the server OR user authentication failed" - e. g. can I narrow it down somehow to one OR the other? Or should I just give up and can 9.4 and start trying 9.3, then 9.2, then 9.1 etc. until I get a Postgres version that can be connected from the version of ODBC shipped with Centos 6.5? I really wanted to try postgres 9.4 as I have postgres 8.4 running happily on another box with Centos 6.5 ODBC working 100% fine, but 8.4 is a bit long in the tooth and I read that 9.4 has significant speed improvements. Anybody else reading this - ever yet got Postgres 9.4 ODBC working with the stock Centos 6.5 unixODBC drivers? -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc