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

Re: Postgres - pg_hba.conf entry for host nof found

From: s0lao(at)netscape(dot)net (S(dot) L(dot))
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Postgres - pg_hba.conf entry for host nof found
Date: 2004-03-10 06:40:31
Message-ID: 503C9EA7.118B743C.00013D13@netscape.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
[...]
>I tried to connect using libpq-fe library.The program compiles without giving any compilation errors.But when I try to run it it says 
>psql: FATAL:  No pg_hba.conf entry for host 127.0.0.1, user postgres, database template1
>please help.
[...]

Why don't you create this entry (in the file "/usr/local/pgsql/data/pg_hba.conf")? It's ususally a comment out task (i.e. the entry is there, but is commented).

SLao

__________________________________________________________________
Introducing the New Netscape Internet Service. 
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need. 

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

pgsql-cygwin by date

Next:From: Alex VasilyonokDate: 2004-03-10 23:20:38
Subject: initdb fails
Previous:From: Patrick SamsonDate: 2004-03-09 15:25:22
Subject: Backend doesn't catch the next command, after SIGUSR2

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