From: | Michael Fuhr <mike(at)fuhr(dot)org> |
---|---|
To: | AKHILESH GUPTA <akhilesh(dot)davim(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: regarding grant option |
Date: | 2006-03-01 05:19:57 |
Message-ID: | 20060301051957.GA16661@winnie.fuhr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
On Wed, Mar 01, 2006 at 09:50:24AM +0530, AKHILESH GUPTA wrote:
> just tell me the procedure that how can i grant all permissions for a
> database to any of the other user???
> i am using :-
> :->> grant all privileges on database <db_name> to <user_name>;
> GRANT
> :->> grant all ON DATABASE <db_name> to <user_name>;
> GRANT
>
> and the query executes succesfully.
> but at the other user end, she is not able to access the database given in
> the above query.
Can the user connect to the database at all? Is she getting an
error message? If so, what's the error and at what point in the
connection is she getting it? What did she do immediately prior
to getting the error? Do the server logs contain any error messages?
If so, what are they?
If the user can't even connect then the problem is likely with
pg_hba.conf. See "Client Authentication" in the documentation for
more information:
http://www.postgresql.org/docs/8.0/interactive/client-authentication.html
--
Michael Fuhr
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Fuhr | 2006-03-01 05:54:48 | Re: Data corruption zero a file - help!! |
Previous Message | Noel Faux | 2006-03-01 05:12:53 | Data corruption zero a file - help!! |
From | Date | Subject | |
---|---|---|---|
Next Message | Florian Weimer | 2006-03-01 07:19:40 | Re: Index to support LIKE '%suffix' queries |
Previous Message | AKHILESH GUPTA | 2006-03-01 04:20:24 | regarding grant option |