problems connecting to postgresql with unixodbc

From: mlennert(at)ulb(dot)ac(dot)be
To: pgsql-interfaces(at)postgresql(dot)org
Subject: problems connecting to postgresql with unixodbc
Date: 2001-01-24 12:09:49
Message-ID: E14LOkH-0000d5-00@paf-linux.ulb.ac.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hello,

I'm running postgresql 7.0.3-4, on debian unstable, and I have trouble
connecting to databases via odbc. I use unixodbc 2.0.3-1, and I can see
the data source in the DataManager, but when I try to connect I get the
following error:

'[unixODBC]Could not connect to the server;
Could not connect to remote socket.'

People have suggested to me that the problem might be that the
postmaster was not started with the -i option. I verified the postmaster.init
file and
PGALLOWTCPIP=yes is set.

My pg_hba.conf file reads:

local all password
host all 127.0.0.1 255.255.255.255 password

Can someone help me ?

Moritz

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 2001-01-24 13:41:38 Re: PgAccess - small bug?
Previous Message Kogotkov, Vyacheslav 2001-01-24 10:59:20 Can't connect to anonCVS !