Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 56B111337B3E for ; Mon, 17 Jan 2011 05:31:03 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 44002-02 for ; Mon, 17 Jan 2011 09:30:55 +0000 (UTC) X-Greylist: delayed 00:06:51.580148 by SQLgrey-1.7.6 Received: from hermes.mejor.pl (hermes.mejor.pl [193.238.12.139]) by mail.postgresql.org (Postfix) with ESMTP id 78C3E1337B39 for ; Mon, 17 Jan 2011 05:30:55 -0400 (AST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mejor.pl; s=cokolwiek; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=+QgkONA8/ousukqp1VyCX7gwMzz1lb1PB1SOEdtnSj8=; b=mfu2N5lRwV+Mt2oj3r3OLuQ+t8K3og18LxyUXCR7cnAyBO3JBGcmiO0Gz+1JqK0mDaj1ybBCMYBvoNTdpZYoboxjQndEUn+WZ49R5ZE0cqqXhBaWNpY9jTfkqVJ8nvgE; Received: from 127-goc-33.acn.waw.pl ([94.75.108.127] helo=[192.168.138.87]) by hermes.mejor.pl with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.73) (envelope-from ) id 1PelJh-0002ME-Uo for pgsql-sql@postgresql.org; Mon, 17 Jan 2011 10:24:02 +0100 Message-ID: <4D340AAE.7000607@mejor.pl> Date: Mon, 17 Jan 2011 10:23:58 +0100 From: =?UTF-8?B?TWFyY2luIE1pcm9zxYJhdw==?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110103 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Re: failing to connect to postgresql with php References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.61 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/46 X-Sequence-Number: 34993 W dniu 17.01.2011 09:42, victor katemana pisze: > 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 Check permissions to the socket. Regards