pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: eladio rodriguez <elarod_ad@hotmail.com>
To: jie@best.com
To: pgsql-admin@postgresql.org
Subject: Re: authentication error
Date: Fri, 16 May 2003 14:12:25 -0600
Message-ID: <Law14-F61PLkeNq4I6100022814@hotmail.com> (raw)

hi.

maybe:

# TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK           METHOD

local   all         all                                             password
host    all         all         XXX.X.X.X         XXX.XXX.XXX.XXX   password

good luck.


>From: jie zhang <jie@best.com>
>To: pgsql-admin@postgresql.org
>Subject: [ADMIN] authentication error
>Date: Wed, 14 May 2003 12:35:11 -0700
>
>Hi,
>
>I try to connect using psql test from localhost.  I got:
>FATAL 1:  No pg_hba.conf entry for host localhost, user postgres, database 
>test
>
>I double checked that I have done the following:
>I started server using: postmaster -i -D /var/lib/pgsql/data >logfile 2>&1 
>&
>
>In my pg_hba.conf file I have:
>host       all         127.0.0.1     255.255.255.0    trust
>local   all     reject
>
>Are there anything else I need to do ?  or anything I did wrong ?
>I try to force the connection go through tcp/ip.
>Please advice if you can.
>
>thanks in advance,
>
>Jie
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster

_________________________________________________________________
Charla con tus amigos en lĂ­nea mediante MSN Messenger: 
http://messenger.yupimsn.com/




view thread (6+ messages)  latest in thread

Message-ID: <Law14-F61PLkeNq4I6100022814@hotmail.com>
Permalink:  ../Law14-F61PLkeNq4I6100022814@hotmail.com/
Also on:    postgresql.org/message-id/Law14-F61PLkeNq4I6100022814@hotmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: elarod_ad@hotmail.com, jie@best.com
  Subject: Re: authentication error
  In-Reply-To: <Law14-F61PLkeNq4I6100022814@hotmail.com>
  References: <Law14-F61PLkeNq4I6100022814@hotmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox