Revision [2031]

Last edited on 2008-10-21 00:26:39 by WikiAdmin
Additions:
First off, create the user. Notice if the database's owner is a different user (role), one must grant privileges to individual tables. There is no "schema.*" here. Very annoying.
# You will need table grant here.
GRANT ALL ON t1 TO webuser;
Deletions:
First off, create the user


Revision [2030]

Edited on 2008-10-21 00:21:09 by WikiAdmin
Additions:
For my case, I'm connecting from non-localhost, so I need to tell postgresql to listen on the internal network
%%(postgresql.conf)
listen_addresses = 'localhost, 192.168.x.10'
$dbconn = pg_connect("host=192.168.x.10 dbname=d2 user=webuser password=xxxxx")
Deletions:
$dbconn = pg_connect("host=192.168.x.x dbname=d2 user=webuser password=xxxxx")


Revision [2029]

The oldest known version of this page was created on 2008-10-21 00:15:23 by WikiAdmin
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki