Re: PostgreSQL from a newcomers perspective - Mailing list pgsql-general

From B. van Ouwerkerk
Subject Re: PostgreSQL from a newcomers perspective
Date
Msg-id 6.0.0.22.0.20031201173524.04e83b60@pop.atz.nl
Whole thread Raw
In response to Re: PostgreSQL from a newcomers perspective  ("B. van Ouwerkerk" <bvo@atz.nl>)
Responses Re: PostgreSQL from a newcomers perspective  (Oliver Elphick <olly@lfix.co.uk>)
List pgsql-general
> > I couldn't without modifying either postgresql.conf or start PostgreSQL
> > with --i
>
>There must be something wrong.  PHP should be able to connect via
>Unix-domain sockets.

I'll be the first to admit that I might have made a mistake. This is on a
box I use for testing only.. so nothing bad will happen if I muck things up..

This is the error I got in my errorlog:
Unable to connect to PostgreSQL server: could not connect to server:
Connection refused
         Is the server running locally and accepting
         connections on Unix domain socket "/tmp/5432"?
in /path_to/filename.php on line 61

 From a little search on Google it seems a pretty common problem.. So if I
made a mistake I'm probably not the first :-)



B.


pgsql-general by date:

Previous
From: "Roderick A. Anderson"
Date:
Subject: Re: SRPM (PGDG) will not build
Next
From: "zerobearing2"
Date:
Subject: XML & Postgres Functions