Skip site navigation (1) Skip section navigation (2)

non-root installation of Postgresql?

From: Terrence Brannon <blessed(at)sv-luka(dot)org>
To: pgsql-novice(at)postgresql(dot)org
Subject: non-root installation of Postgresql?
Date: 2002-05-02 12:34:30
Message-ID: 0174a2934120252FE7@mail7.sc.rr.com (view raw or flat)
Thread:
Lists: pgsql-novice
Hi, I used ./configure --prefix=/home/metaperl/install/pgsql to
install postgres and then I did initdb and createdb and started the
postmaster just fine.

However, attempting to connect via psql is failing with this error
message:

urth:~/install/pgsql> ./bin/psql test metaperl
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"?
urth:~/install/pgsql> 
urth:~/install/pgsql> 

I looked around for a way to force sockets to be created in /tmp or in
my home directory but saw nothing in the manual.


Responses

pgsql-novice by date

Next:From: Warwick HunterDate: 2002-05-02 12:54:29
Subject: Re: Window 98 and NT
Previous:From: Rasmus MohrDate: 2002-05-02 09:58:14
Subject: Re: Trying to reduce per tuple overhead

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group