Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id CB02847592A for ; Thu, 4 Jul 2002 07:08:31 -0400 (EDT) Mailbox-Line: From camaral@isnet.com.br Thu Jul 4 07:08:31 2002 Received: from isnet.com.br (stamoujr-69.adsl.fns.matrix.com.br [200.196.13.69]) by postgresql.org (Postfix) with SMTP id ABEB34758E6 for ; Thu, 4 Jul 2002 07:08:26 -0400 (EDT) Received: (qmail 8416 invoked from network); 4 Jul 2002 11:08:28 -0000 Received: from unknown (HELO isnet.com.br) (200.193.150.145) by gandalf.isnet.com.br with SMTP; 4 Jul 2002 11:08:28 -0000 Message-ID: <3D242B2D.2080000@isnet.com.br> Date: Thu, 04 Jul 2002 08:02:05 -0300 From: Carlos Amaral User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020310 X-Accept-Language: en-us MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: Re: odbc References: <000801c2222c$e69d9e70$e0a44542@THELIZARDKING> <200207040954320620.0012BDA0@radove.kretzer.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.30 X-Spam-Level: X-Archive-Number: 200207/10 X-Sequence-Number: 2819 Please, can anybody help too ??? I've installed Postgres 7.2.1 from RedHat 7.3 and received the same error message below. I have pg_hba.conf in '/usr/share/pgsql/data" and "var/lib/pgsql/data", but this message persists !!! I'm not using odbc !! I use zeos (a connect tool for Delphi) !!! It allways work fine, but with 7.2.1 not !!! thanks Andreas Kretzer wrote: >>On 02.07.2002 at 19:59 Roberto Benitez wrote: >>hi, i have a postgresql db set up on a linux server >>i can access it w/o a problem from that machine, but when i try to access >>it from odbc, i get an error >>it says it cannot find a 'pg_hda.conf' entry for [IP Address], [User], >>[Database] >>i set up the pg_hda.conf to accept a given range of IP's or tried to at >>least. >> >>what else do i need to do? >> > > First, make sure you're using the correct pg_hba.conf in the postgres > data directory! Then restart postgres server to bring changes in effect. > > Second, you will need to create a data base user using the 'createuser' > command. Use your logon name on the remote machine as the user > name to create. > > If you have successfully connected to the database you still can run > into trouble if you forgot to allow access to the records in your > data base. Use 'GRANT SELECT ON TO ' as a minimum > access-level. > > If you have no success with that, please post your pg_hba.conf and > the concrete values for "[IP Adress], ..." from above. And specify your > odbc client machine (just guessing: Windows, Access ???) > > Regards > Andreas > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > > > > >