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

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 (view raw or flat)
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

pgsql-odbc by date

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

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