Re: [ADMIN] Regarding access to a user

Поиск
Список
Период
Сортировка
От Vishal Arora
Тема Re: [ADMIN] Regarding access to a user
Дата
Msg-id BLU149-W63EC5FFDFE1DB3BF499FCA9660@phx.gbl
обсуждение исходный текст
Ответ на Re: [ADMIN] Regarding access to a user  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-general







> Date: Mon, 25 Aug 2008 11:08:14 -0600
> From: scott.marlowe@gmail.com
> To: Shashwat_Nigam@satyam.com
> Subject: Re: [ADMIN] Regarding access to a user
> CC: aroravishal22@hotmail.com; pgsql-admin@postgresql.org; Kevin.Grittner@wicourts.gov; pgsql-general@postgresql.org; pgsql-sql@postgresql.org
>
> On Thu, Aug 21, 2008 at 3:05 AM, Shashwat_Nigam
> <Shashwat_Nigam@satyam.com> 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@postgresql.org)
> 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!

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Trigger function is not called
Следующее
От: Ow Mun Heng
Дата:
Сообщение: Partial Indexes Not being Used [WAS]Re: Partial_indexes (Immutable?)