Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 9752A1337D13 for ; Tue, 29 Mar 2011 17:22:31 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 32410-02-3 for ; Tue, 29 Mar 2011 20:22:23 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mail.postgresql.org (Postfix) with SMTP id ABA901337DA3 for ; Tue, 29 Mar 2011 17:16:26 -0300 (ADT) Received: (qmail invoked by alias); 29 Mar 2011 20:16:22 -0000 Received: from 77-21-169-140-dynip.superkabel.de (EHLO [192.168.178.22]) [77.21.169.140] by mail.gmx.net (mp004) with SMTP; 29 Mar 2011 22:16:22 +0200 X-Authenticated: #955937 X-Provags-ID: V01U2FsdGVkX1/AcTATbTXANfm3uZplC92cPLcpIaC365p2SrI9LF JSbcZRZWczUEeQ Message-ID: <4D923E11.9060108@gmx.de> Date: Tue, 29 Mar 2011 22:16:17 +0200 From: Jan-Peter Seifert User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 CC: Marc Fromm , "pgsql-odbc@postgresql.org" Subject: Re: first time odbc References: <12181302.1301426856719.JavaMail.root@mswamui-bichon.atl.sa.earthlink.net> In-Reply-To: <12181302.1301426856719.JavaMail.root@mswamui-bichon.atl.sa.earthlink.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.868 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_NONE=-0.0001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201103/26 X-Sequence-Number: 10617 Hello, most likely you'll have to set listen_addresses in postgresql.conf correctly as well ( see link ). Don't forget to remove the # ;) Good luck, Peter Am 29.03.2011 21:27, schrieb jsilberberg@mindspring.com: > > > http://www.postgresql.org/docs/9.0/static/auth-pg-hba-conf.html > > > > > -----Original Message----- > From: Marc Fromm > Sent: Mar 29, 2011 3:01 PM > To: "jsilberberg@mindspring.com" > Cc: "pgsql-odbc@postgresql.org" > Subject: RE: [ODBC] first time odbc > > I updated the windows postgresql odbc drivers and now I get the message: > > No connection could be made because the target machine actively > refused it. > > > > This sounds like something needs to be configured on the server to > allow the odbc connection. > > > > *From:* jsilberberg@mindspring.com [mailto:jsilberberg@mindspring.com] > *Sent:* Tuesday, March 29, 2011 11:13 AM > *To:* Marc Fromm; pgsql-odbc@postgresql.org > *Subject:* Re: [ODBC] first time odbc > > > > > > Why, > > > > That's a vintage 02-Feb-2006 driver. > > > > I use 8.04 from Dec-2009 and even that's getting a little > stale. Why not try the 9.n drivers. > > > > Could the port(s) be blocked / restricted between you and the > server and is PostgreSQL SSL support enabled -- > > http://www.postgresql.org/docs/9.0/static/ssl-tcp.html > > > > JMS > > > > ----------------------------------- > > > > -----Original Message----- > From: Marc Fromm > Sent: Mar 29, 2011 1:58 PM > To: "pgsql-odbc@postgresql.org " > Subject: [ODBC] first time odbc > > > Before learning there was an odbc list, I sent this post to the > admin list. > > > > I am running postgres on a red hat linux server. > > postgresql-python-8.1.23-1.el5_6.1 > > postgresql-test-8.1.23-1.el5_6.1 > > postgresql-libs-8.1.23-1.el5_6.1 > > postgresql-docs-8.1.23-1.el5_6.1 > > postgresql-contrib-8.1.23-1.el5_6.1 > > postgresql-8.1.23-1.el5_6.1 > > postgresql-pl-8.1.23-1.el5_6.1 > > *postgresql-odbc-08.01.0200-3.1* > > postgresql-jdbc-8.1.407-1jpp.4 > > postgresql-server-8.1.23-1.el5_6.1 > > postgresql-tcl-8.1.23-1.el5_6.1 > > > > User on windows computers would like to odbc to the postgres > databases. > > I downloaded the windows postgres odbc drivers from the > following site and installed version “psqlodbc-08_01_0200” on > the windows computer. > > http://ftp9.us.postgresql.org/pub/mirrors/postgresql/odbc/versions/msi/ > > > > When I configure a “File Data Source” connection in access, I > cannot connect to the postgresql database. I get the message, “A > connection could not be made using the file data source > parameters entered. Save non-verified file DSN?” > > The parameters entered are: > > Database: database_name > > Server: I entered the IP address of the server > > User Name: I entered postgres > > Password: > > SSL Mode: prefer > > Port: 5432 (which is the port used by postgres) > > > > Do I need to configure the /etc/odbc.ini file? It is currently > just a blank file. > > > > Thanks for any help. > > > > Marc >