> Date: Mon, 25 Aug 2008 11:08:14 -0600 > From: scott.marlowe@xxxxxxxxx > To: Shashwat_Nigam@xxxxxxxxxx > Subject: Re: [ADMIN] Regarding access to a user > CC: aroravishal22@xxxxxxxxxxx; pgsql-admin@xxxxxxxxxxxxxx; Kevin.Grittner@xxxxxxxxxxxx; pgsql-general@xxxxxxxxxxxxxx; pgsql-sql@xxxxxxxxxxxxxx > > On Thu, Aug 21, 2008 at 3:05 AM, Shashwat_Nigam > <Shashwat_Nigam@xxxxxxxxxx> wrote: > > Dear Vishal > > > > Thanks for the help but by doing this an error is generated at the time when > > the user is trying to log in with the following message: > > > > " > > > > Access to database denied > > > > The server doesn't grant access to the database: the server reports > > > > FATAL: no pg_hba.conf entry for host "127.0.0.1", user "hmri", database > > "postgres", SSL off > > Notice that it says database postgres??? User hmri doesn't have > permission to connect to the the postgres database. you need to > connect to the hmri database. He is using PgAdmin III to connect to the database. When you use pgAdminIII, it has one text field as Maintainance DB - that is by default marked as Postgres. Now when you make entries for specific user for specific database, you get this above error, if you do not change the maintainence db to the same as the user wants to connect to. > > -- > Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin Search for videos of Bollywood, Hollywood, Mollywood and every other wood, only on Live.com Try it now! |