Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

noob postgresql user question



eric chadbourne wrote:
> i have access to a database via phppgadmin.  i've created a new user and 
> now want them to be able to use the db.
> 
> GRANT ALL PRIVILEGES
> ON DATABASE all_knowledge
> TO mr_cool;
> 
> it's not doing what i suspect.  my php scripts still can't access the db.

Even if you logged in as mr_cool to write your php scripts, they may not 
be running as mr_cool.  More likely, they're running with the identity 
of the Web server ("www-data" or "apache" or something else, depending 
on the distribution).







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org