Re: pgsql on win xp user permissions

Поиск
Список
Период
Сортировка
От Chris
Тема Re: pgsql on win xp user permissions
Дата
Msg-id 43E2C557.2000306@gmail.com
обсуждение исходный текст
Ответ на pgsql on win xp user permissions  ("Trans Porter" <iddd2@adsf.com>)
Список 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 по дате отправления:

Предыдущее
От: Andrew - Supernews
Дата:
Сообщение: Re: 8.0.3 regexp_replace()...
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: specifying unix domain socket name