failing to connect to postgresql with php

From: victor katemana <developervickatg(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: failing to connect to postgresql with php
Date: 2011-01-17 08:42:34
Message-ID: AANLkTi=c2uKcOzj5_GqEiZp5tLVkC18+51VqsZ24eAAA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

i have installed postgres 8.4 server in ubuntu 10.04, clearly following all
procedures. what is disappointing me i cant establish connection to the
database server when am configuring postgres with php. whenever i use this
postgres database function i dont even receive an error message. the server
just remains quite. more on than when i execute the command

#psql template1 on my terminal i receive this error message

psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
can someone help me out please

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Viktor Bojović 2011-01-17 08:51:44 Re: failing to connect to postgresql with php
Previous Message 中川 誠貴 2011-01-17 01:25:22 Re: why does seq scan instead of index scan