| От | Scott Marlowe |
|---|---|
| Тема | Re: php -postgresql |
| Дата | |
| Msg-id | 1091050280.27159.0.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | Re: php -postgresql (Geoff Caplan <geoff@variosoft.com>) |
| Список | pgsql-general |
On Wed, 2004-07-28 at 14:08, Geoff Caplan wrote: > Jay, > > J> hi people, > J> i have been trying to connect to the database using php. but i am not > J> able to do so .i am getting the following errors > > You won't get in as user "Jay" on the default access settings. Unless > you change the settings, Postgres expects to the system user to have > the same username as the Postgres user. So the path of least > resistance is to set up a Postgres user with the same name as Apache > has on your system, and use that as the username in pg_connect(). Actually, with ident turned on, you shouldn't need to have a user listed in pg_connect, or a password.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера