pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mlennert@ulb.ac.be
To: pgsql-interfaces@postgresql.org
Subject: problems connecting to postgresql with unixodbc
Date: Wed, 24 Jan 2001 13:09:49 +0100
Message-ID: <E14LOkH-0000d5-00@paf-linux.ulb.ac.be> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <E14LOkH-0000d5-00@paf-linux.ulb.ac.be>
Permalink:  ../E14LOkH-0000d5-00@paf-linux.ulb.ac.be/
Also on:    postgresql.org/message-id/E14LOkH-0000d5-00@paf-linux.ulb.ac.be

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: mlennert@ulb.ac.be
  Subject: Re: problems connecting to postgresql with unixodbc
  In-Reply-To: <E14LOkH-0000d5-00@paf-linux.ulb.ac.be>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox