pgsql-odbc - Mailing list pgsql-odbc

From Minal
Subject pgsql-odbc
Date
Msg-id 42D4D72E.4030900@yes2etl.com
Whole thread Raw
Responses Re: pgsql-odbc
List pgsql-odbc
This is my code which I have included to connect to postgresql in SUSE
linux from windows machine.

Dim MyDB As New ADODB.Connection
Dim Rc As New ADODB.Recordset
Private Sub Command1_Click()

With MyDB
  .CursorLocation = adUseClient
  .Open "Provider='PostgreSQL';Database='test';host='10.1.2.86';"

End With

End Sub

I am getting the following error:
"Could not connect to server:connection refused(0x0000274D/10061) is the
server running on the host"" and accepting TCP/IP on port 5432"

I  have modified pg_hba.conf  on the linux server to allow connections
froms other hosts also.
Just dont know what to do??

Minal

pgsql-odbc by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Patch for Libpq enabled psqlodbc
Next
From: Marko Ristola
Date:
Subject: Re: Problems with ODBC and ASP .NET 2.0