Re: PostgreSQL from a newcomers perspective

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: "B(dot) van Ouwerkerk" <bvo(at)atz(dot)nl>
Cc: PostgreSQL general list <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL from a newcomers perspective
Date: 2003-12-01 18:40:44
Message-ID: 1070304044.15300.17.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2003-12-01 at 17:50, B. van Ouwerkerk wrote:
> 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 &quot;/tmp/5432&quot;?
> in /path_to/filename.php on line 61

That socket path is wrong. It should be /tmp/.s.PGSQL.5432. How is PHP
getting it?

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Who is like unto thee, O LORD, among the gods? who is
like thee, glorious in holiness, fearful in praises,
doing wonders?" Exodus 15:11

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rick Gigger 2003-12-01 18:45:45 Re: disaster recovery
Previous Message Joe Conway 2003-12-01 18:32:13 Re: export FUNC_MAX_ARGS as a read-only GUC variable