Re: pgsql on win xp user permissions - Mailing list pgsql-general

From Chris
Subject Re: pgsql on win xp user permissions
Date
Msg-id 43E2C557.2000306@gmail.com
Whole thread Raw
In response to pgsql on win xp user permissions  ("Trans Porter" <iddd2@adsf.com>)
List pgsql-general
You'll need to create a separate psql user.

See http://www.postgresql.org/docs/8.1/static/sql-createrole.html

Then get your php script to connect with that username/password.

Trans Porter wrote:
> I want to setup a database that will be used by my php application.  Right
> now I installed postgresql, I used an admin account to install it on a user
> account.  So I can only access the database (like psql dbname) when i'm
> logged in as the user, if i try psql from admin it says fatal role "admin
> name" does not exist.  Is this how its supposed to be?  I am creating a php
> application that is powered by apache.  I can work from admin account
> because in php scripts I connect to database using a different user name and
> so pgsql should not wine about admin accessing it eh?

pgsql-general by date:

Previous
From: Andrew - Supernews
Date:
Subject: Re: 8.0.3 regexp_replace()...
Next
From: Bruce Momjian
Date:
Subject: Re: specifying unix domain socket name