pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: azwa@nc.com.my
To: pgsql-sql@postgresql.org
Subject: pg_hba.conf
Date: Wed, 10 Mar 2004 12:12:39 +0800
Message-ID: <OF670CE485.A3CDBC3D-ON48256E53.00170751@nc.com.my> (raw)


Hi,

  i try to connect to my database as $ psql dwnc biosadm  but got the error
               "psql: FATAL:  No pg_hba.conf entry for host localhost, user
biosadm, database dwnc"
Below are the detail in pg_hba.conf

   # TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK
METHOD

      local                  all           all
trust
      host                  all           all                   127.0.0.1
255.255.255.255     trust
      host                 all            all              192.168.1.45
255.255.255.0      trust
      host              dwnc        biosadm     192.168.1.45
255.255.255.0        trust



the line in bold has been deleted before i connect to database . then i
shutdown the database using following command :
pg_ctl -D /usr/local/pgsql/data stop -m fast

followed by startup database :

    postmaster -D /usr/local/pgsql/data > logg 2>&1  &

Does anybody know why does the above error  occur when trying to connect
database and try connect through client using pgadmin??? thanks in advance







view thread (9+ messages)  latest in thread

Message-ID: <OF670CE485.A3CDBC3D-ON48256E53.00170751@nc.com.my>
Permalink:  ../OF670CE485.A3CDBC3D-ON48256E53.00170751@nc.com.my/
Also on:    postgresql.org/message-id/OF670CE485.A3CDBC3D-ON48256E53.00170751@nc.com.my

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: azwa@nc.com.my
  Subject: Re: pg_hba.conf
  In-Reply-To: <OF670CE485.A3CDBC3D-ON48256E53.00170751@nc.com.my>

* 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