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

help with postgreSQL error !

From: abhisheks(at)cse(dot)iitb(dot)ac(dot)in
To: pgsql-novice(at)postgresql(dot)org
Subject: help with postgreSQL error !
Date: 2011-06-21 04:49:33
Message-ID: 6b8f5187c82270074e045215721c48d9.squirrel@www.cse.iitb.ac.in (view raw or flat)
Thread:
Lists: pgsql-novice
i am getting the following error when i try to run 'createdb' command from
within the bin directory ..



/bin$ ./pg_ctl -D
/host/driveD/manualInstalls/SpatialDatabase/PostgreSQL_postGIS/installPostgreSQL/bin/UserDatabases
-l logfile start
server starting
/bin$ createdn mydb;
createdb: could not connect to database postgres: could not connect to
server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?


pls tell me where is the problem ?


Responses

pgsql-novice by date

Next:From: Vibhor KumarDate: 2011-06-21 07:43:48
Subject: Re: help with postgreSQL error !
Previous:From: Richard BroersmaDate: 2011-06-20 19:09:16
Subject: Re: Postgres service refuses to start on windows

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