Re: php password authentication failed for user ...

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: php password authentication failed for user ...
Дата
Msg-id CAOR=d=0on-D8KTpbfhLuXakUTvFdnLUa7zRLdUEjBnW5dVQUZA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: php password authentication failed for user ...  (basti <basti@unix-solution.de>)
Ответы Re: php password authentication failed for user ...  (basti <mailinglist@unix-solution.de>)
Список pgsql-general
On Wed, Jul 9, 2014 at 6:37 AM, basti <basti@unix-solution.de> wrote:
> I don't know whats wrong there
> host    mydns      mydns        localhost                       trust
> works well and
>
> #host    all         all         0.0.0.0           0.0.0.0           md5
> did not work.
>
> I use Postgres 9.3.4-1.pgdg70+1.
>

PHP should be telling you what you're doing wrong. Look in your logs
etc. For example this code:

<?php
$conn = pg_connect("dbname=smarlowe host=localhost");
?>

on my box gives me this warning:

PHP Warning:  pg_connect(): Unable to connect to PostgreSQL server:
fe_sendauth: no password supplied in /tmp/test.php on line 2


В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BAKUP ISSUE
Следующее
От: Chris Hanks
Дата:
Сообщение: Joining on a view containing a UNION ALL produces a suboptimal plan on 9.3.4