pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedproblems connecting to postgresql with unixodbc
2+ messages / 2 participants
[nested] [flat]
* problems connecting to postgresql with unixodbc
@ 2001-01-24 12:09 mlennert@ulb.ac.be
0 siblings, 1 reply; 2+ messages in thread
From: mlennert@ulb.ac.be @ 2001-01-24 12:09 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: problems connecting to postgresql with unixodbc
@ 2001-01-24 15:59 Tom Lane <tgl@sss.pgh.pa.us>
parent: mlennert@ulb.ac.be
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2001-01-24 15:59 UTC (permalink / raw)
To: mlennert@ulb.ac.be; +Cc: pgsql-interfaces
mlennert@ulb.ac.be writes:
> My pg_hba.conf file reads:
> local all password
> host all 127.0.0.1 255.255.255.255 password
Perhaps you need to also list the real IP address of your machine,
not only 127.0.0.1.
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-01-24 15:59 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-24 12:09 problems connecting to postgresql with unixodbc mlennert@ulb.ac.be
2001-01-24 15:59 ` Tom Lane <tgl@sss.pgh.pa.us>
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