Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 9A727632A86 for ; Thu, 15 Jul 2010 18:15:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 94221-07 for ; Thu, 15 Jul 2010 21:15:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from cooker.cnx.rice.edu (cooker.cnx.rice.edu [168.7.5.70]) by mail.postgresql.org (Postfix) with ESMTP id 883AE632D2A for ; Thu, 15 Jul 2010 18:15:12 -0300 (ADT) Received: from reedstrm by cooker.cnx.rice.edu with local (Exim 4.63) (envelope-from ) id 1OZVlD-0000jy-GD for pgsql-odbc@postgresql.org; Thu, 15 Jul 2010 16:14:27 -0500 Date: Thu, 15 Jul 2010 16:14:27 -0500 From: "Ross J. Reedstrom" To: pgsql-odbc@postgresql.org Subject: Re: ODBC from MS Access Message-ID: <20100715211427.GD27591@rice.edu> Mail-Followup-To: "Ross J. Reedstrom" , pgsql-odbc@postgresql.org References: <002901cb244c$5bbb5830$13320890$@rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-10 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/22 X-Sequence-Number: 10365 On Thu, Jul 15, 2010 at 11:49:39AM -0700, Richard Broersma wrote: > On Thu, Jul 15, 2010 at 11:34 AM, Joseph Doench wrote: > > > > FYI, I am running Access 2007. > > > > I’ve read some of the PG documentation… > > > > checked and confirmed that: > > > > posgreSQL.conf contains listen_addresses='*'. > > > > Added a line to pg_hba.conf containing: > > > > host      all      all       myIPaddress        trust > > > > …using ‘postgres’  or ‘projop’  for the database name. > > > > …using ‘postgres’ as the username;  no password > > > > Getting an error message: 'No connection could be made because the target > > machine actively refused it.’ > > > Are you able to log in locally using psql with these credentials? And did you restart the postmaster after adding the lines to pg_hba.conf? Also, realize that the first line in pg_hba.conf that matches your access attempt is the one that matters: if you tacked that on at the end, there's likely an earlier line that's rejecting you. Ross -- Ross Reedstrom, Ph.D. reedstrm@rice.edu Systems Engineer & Admin, Research Scientist phone: 713-348-6166 The Connexions Project http://cnx.org fax: 713-348-3665 Rice University MS-375, Houston, TX 77005 GPG Key fingerprint = F023 82C8 9B0E 2CC6 0D8E F888 D3AE 810E 88F0 BEDE