pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem to connect to PostgreSQL7.2.3 using UNIXODBC's datamanager
2+ messages / 1 participants
[nested] [flat]

* Problem to connect to PostgreSQL7.2.3 using UNIXODBC's datamanager
@ 2002-12-04 03:07 lingjia <lingjia@i2r.a-star.edu.sg>
  2002-12-04 04:24 ` Re: Problem to connect to PostgreSQL7.2.3 using UNIXODBC's lingjia <lingjia@i2r.a-star.edu.sg>
  0 siblings, 1 reply; 2+ messages in thread

From: lingjia @ 2002-12-04 03:07 UTC (permalink / raw)
  To: 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@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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Problem to connect to PostgreSQL7.2.3 using UNIXODBC's
  2002-12-04 03:07 Problem to connect to PostgreSQL7.2.3 using UNIXODBC's datamanager lingjia <lingjia@i2r.a-star.edu.sg>
@ 2002-12-04 04:24 ` lingjia <lingjia@i2r.a-star.edu.sg>
  0 siblings, 0 replies; 2+ messages in thread

From: lingjia @ 2002-12-04 04:24 UTC (permalink / raw)
  To: pgsql-odbc

Hi,

Please ignore my previous posting, I searched the web again and changed the following:

1) Starting postmaster with -i option
2) uncommeted tcpip_socket=false in /usr/local/pgsql/data/postgresql.conf file and set it to true.

And it is working!

Thanks anyway!

Lingjia



  ----- Original Message ----- 
  From: lingjia 
  To: pgsql-odbc@postgresql.org 
  Sent: Wednesday, December 04, 2002 11:07 AM
  Subject: [ODBC] Problem to connect to PostgreSQL7.2.3 using UNIXODBC's datamanager


  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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-12-04 04:24 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-12-04 03:07 Problem to connect to PostgreSQL7.2.3 using UNIXODBC's datamanager lingjia <lingjia@i2r.a-star.edu.sg>
2002-12-04 04:24 ` Re: Problem to connect to PostgreSQL7.2.3 using UNIXODBC's lingjia <lingjia@i2r.a-star.edu.sg>

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