php -postgresql

Поиск
Список
Период
Сортировка
От Jay
Тема php -postgresql
Дата
Msg-id 4107EC7C.3000400@cs.uccs.edu
обсуждение исходный текст
Ответы Re: php -postgresql  (Chris <list@1006.org>)
Re: php -postgresql  (Martin Marques <martin@bugs.unl.edu.ar>)
Re: php -postgresql  (Geoff Caplan <geoff@variosoft.com>)
Список pgsql-general
hi people,
i have been trying to connect to the database using php. but i am not
able to do so .i am getting the following errors




      *Warning*: pg_connect(): Unable to connect to PostgreSQL server:
      FATAL: IDENT authentication failed for user "jay" . in
      */var/www/proj/psql_results.php* on line *37*

on using the following command
 $connection = pg_connect("host=localhost dbname=cs542 user=jay") or
die("could not connect");

 can anyone tell me where am i going wrong.
help would be greatly appreciated
thanks
jay


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

Предыдущее
От: "Daniel Verite"
Дата:
Сообщение: Re: Sql injection attacks
Следующее
От: Chris
Дата:
Сообщение: Re: php -postgresql