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

Re: odbc

From: "Andreas Kretzer" <andi(at)kretzer-berlin(dot)de>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: odbc
Date: 2002-07-04 07:54:32
Message-ID: 200207040954320620.0012BDA0@radove.kretzer.local (view raw or flat)
Thread:
Lists: pgsql-interfaces
>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 <table> TO <user>' 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




In response to

  • odbc at 2002-07-03 00:59:35 from Roberto Benitez

Responses

  • Re: odbc at 2002-07-04 11:02:05 from Carlos Amaral

pgsql-interfaces by date

Next:From: Carlos AmaralDate: 2002-07-04 11:02:05
Subject: Re: odbc
Previous:From: Dave PageDate: 2002-07-04 07:25:41
Subject: Re: PgAdmin II - Connection to only one Database

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