From: Viktor Bojović <viktor.bojovic@gmail.com>
To: victor katemana <developervickatg@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: failing to connect to postgresql with php
Date: Mon, 17 Jan 2011 09:51:44 +0100
Message-ID: <AANLkTimGVJ5AdJuTARm0pcAvbHCXRonZPH+6a1T0RyGd@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=c2uKcOzj5_GqEiZp5tLVkC18+51VqsZ24eAAA@mail.gmail.com>
References: <AANLkTi=c2uKcOzj5_GqEiZp5tLVkC18+51VqsZ24eAAA@mail.gmail.com>
On Mon, Jan 17, 2011 at 9:42 AM, victor katemana <developervickatg@gmail.com
> wrote:
> 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
>
if not started start it using
/etc/init.d/postgresql-8.3 start
--
---------------------------------------
Viktor Bojović
---------------------------------------
Wherever I go, Murphy goes with me
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: viktor.bojovic@gmail.com, developervickatg@gmail.com
Subject: Re: failing to connect to postgresql with php
In-Reply-To: <AANLkTimGVJ5AdJuTARm0pcAvbHCXRonZPH+6a1T0RyGd@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox