pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: lingjia <lingjia@i2r.a-star.edu.sg>
To: pgsql-odbc@postgresql.org
Subject: Problem to connect to PostgreSQL7.2.3 using UNIXODBC's datamanager
Date: Wed, 04 Dec 2002 11:07:30 +0800
Message-ID: <01af01c29b42$484f0440$4485a8c0@lit.org.sg> (raw)

Hi,

I have encountered a problem when I tried to use UnixODBC to connect to PostgreSQL7.2.3

Here are my ini files:
*********************************************************
[postgres@sv-ns postgres]$ cat /etc/odbc.ini
[postgre_test]
Description             = postgresql
Driver          = postgresql
Trace           = No
TraceFile               =
Database                = testing
Servername              = sv-ns
UserName                =
Password                =
Port            = 5432
Protocol                = 6.4
ReadOnly                = No
RowVersioning           = No
ShowSystemTables                = No
ShowOidColumn           = No
FakeOidIndex            = No
ConnSettings            =
************************************************************
[postgres@sv-ns postgres]$ cat /etc/odbcinst.ini
[postgresql]
Description             = Driver for postgresql
Driver          = /usr/local/pgsql/lib/libodbcpsql.so
Setup           = /usr/lib/libodbcpsqlS.so
FileUsage               = 1
CPTimeout               =
CPReuse         =
************************************************************
When I run DBManager, it says that:
"Could not connect to the server; could not connect to the remote socket."

The postgresql is running, I am able to browse and issue SQL statements on
the database using psql.  Did I miss sth here?

Thanks in advance!


Lingjia

view thread (2+ messages)  latest in thread

Message-ID: <01af01c29b42$484f0440$4485a8c0@lit.org.sg>
Permalink:  ../01af01c29b42$484f0440$4485a8c0@lit.org.sg/
Also on:    postgresql.org/message-id/01af01c29b42$484f0440$4485a8c0@lit.org.sg

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: lingjia@i2r.a-star.edu.sg
  Subject: Re: Problem to connect to PostgreSQL7.2.3 using UNIXODBC's datamanager
  In-Reply-To: <01af01c29b42$484f0440$4485a8c0@lit.org.sg>
  References: <01af01c29b42$484f0440$4485a8c0@lit.org.sg>

* 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