pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: daflmx <daflmx@qq.com>
To: pgsql-general <pgsql-general@postgresql.org>
Date: Fri, 11 Nov 2011 11:36:16 +0800
Message-ID: <tencent_6A849D2916D6FE1611EDC6FA@qq.com> (raw)

Hello,all.
 I have installed the postgresql .
 $/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data start
 LOG:database system was shut down at 2011-11-10 15:36:14 CST
 LOG:database system is ready to accept connections
 LOG:autovacuum launcher started
  when I check the status of cluster
 $/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data status
 pg_ctl:server is running(PID 18432)
 but why I cannot create a database successfully?
  $/usr/local/pgsql/bin/createdb mydb  createdb:could nto 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"/var/run/postgresql/.s.PGSQL.5432"?
 and I did not find the ".s.PGSQL.5432" file in the whole file system.what's the wrong?
 Thanks.

view thread (2+ messages)  latest in thread

Message-ID: <tencent_6A849D2916D6FE1611EDC6FA@qq.com>
Permalink:  ../tencent_6A849D2916D6FE1611EDC6FA@qq.com/
Also on:    postgresql.org/message-id/tencent_6A849D2916D6FE1611EDC6FA@qq.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: daflmx@qq.com
  Subject: Re: 
  In-Reply-To: <tencent_6A849D2916D6FE1611EDC6FA@qq.com>
  References: <tencent_6A849D2916D6FE1611EDC6FA@qq.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox