pgsql-odbc

From: Minal <minalac(at)yes2etl(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: pgsql-odbc
Date: 2005-07-13 08:56:14
Message-ID: 42D4D72E.4030900@yes2etl.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Marko Ristola 2005-07-13 09:17:37 Re: Problems with ODBC and ASP .NET 2.0
Previous Message Dave Page 2005-07-13 07:36:50 Re: Patch for Libpq enabled psqlodbc