| От | Tom Lane |
|---|---|
| Тема | Re: Restarting with pg_ctl, users, and passwords. |
| Дата | |
| Msg-id | 27469.1219237548@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Restarting with pg_ctl, users, and passwords. ("Matthew Pettis" <matthew.pettis@gmail.com>) |
| Список | pgsql-novice |
"Matthew Pettis" <matthew.pettis@gmail.com> writes:
> I've created a database and can log into it and do stuff with the
> tables using psql. However, I have a CGI app that wants to call the
> database (all on the same machine), but gets a 'FATAL: Ident
> authentication failed for user "postgres"' error. now, while logged
> onto my Linux user account 'postgres', I can psql into my database
> without having to provide a password.
If you want to switch to using password authentication, you'll need to
modify your postmaster's pg_hba.conf configuration file, which is
evidently currently set up for ident authentication. Read the "Client
Authentication" chapter of the manual ...
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера