Skip site navigation (1) Skip section navigation (2)

Problem to connect to PostgreSQL7.2.3 using UNIXODBC's datamanager

From: lingjia <lingjia(at)i2r(dot)a-star(dot)edu(dot)sg>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Problem to connect to PostgreSQL7.2.3 using UNIXODBC's datamanager
Date: 2002-12-04 03:07:30
Message-ID: 01af01c29b42$484f0440$4485a8c0@lit.org.sg (view raw or flat)
Thread:
Lists: pgsql-odbc
Hi,

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

Here are my ini files:
*********************************************************
[postgres(at)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(at)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

Responses

pgsql-odbc by date

Next:From: lingjiaDate: 2002-12-04 04:24:51
Subject: Re: Problem to connect to PostgreSQL7.2.3 using UNIXODBC's
Previous:From: Adrian KlaverDate: 2002-12-04 03:05:51
Subject: Drop column and Access

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group