Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client - Mailing list pgsql-odbc

From Faith, Jeremy
Subject Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client
Date
Msg-id 55BAADA01D8C504993894EAEA7517CF8124630@003FCH1MPN2-002.003f.mgd2.msft.net
Whole thread Raw
In response to Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client  ("Stefan Viljoen" <viljoens@verishare.co.za>)
Responses Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client
List pgsql-odbc
Hi Stefan,

Is your PGHOST environment variable set?

If not psql will be using /tmp by default(i.e. unix domain socket which is the 'local' line in the pg_hba.conf file),
try
   psql -h localhost ...

If this does NOT work it explains why your odbc.ini settings are not working, you could then try changing the odbc.ini
lineto:- 
Servername            = /tmp


Regards,
Jeremy
Tyco Safety Products/CEM Systems Ltd.

________________________________

This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you
arenot the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any
actionin respect of any information contained in it. If you have received this e-mail in error, please notify the
senderimmediately by e-mail and immediately destroy this e-mail and its attachments. 


pgsql-odbc by date:

Previous
From: Nick Gorham
Date:
Subject: Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client
Next
From: dsteigne@redhat.com
Date:
Subject: When will you be adding ISC_REQ_MUTUAL_AUTH to the ODBC dwSSPIFlags variable?