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

grant database access

From: e-letter <inpost(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: grant database access
Date: 2011-09-05 08:04:47
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice

I have inherited a m$ pc with postgresql83 installed. Have tried to
create a new database using pgadminiii but received the error:

Access to database denied
The server doesn't grant access to the database: the server reports
FATAL: no pg_hba.conf entry for host "", user "postgresr",
database "postgres", SSL off
To access a database on a PostgreSQL server, you first have to grant
primary access to the server for your client (Host Based
Authentication). PostgreSQL will check the pg_hba.conf file if a
pattern that matches your client address / username / database is
present and enabled before any SQL GRANT access control lists are

The pghbaconf file contains:


# IPv4 local connections:
local	 all	 all	 	 trust
# IPv6 local connections:
#host    all         all         ::1/128               md5

Any advice please?


pgsql-novice by date

Next:From: Carlo AscaniDate: 2011-09-05 08:45:28
Subject: Re: grant database access
Previous:From: Steve CrawfordDate: 2011-09-02 19:20:54
Subject: Re: moving CSV data into table?

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