From: daflmx <daflmx(at)qq(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject:
Date: 2011-11-10 09:04:10
Message-ID: tencent_3D534C122F5382153924754B@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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"?
Thanks.

Responses

  • Re: at 2011-11-11 00:17:10 from Craig Ringer

Browse pgsql-general by date

  From Date Subject
Next Message Tarlika Elisabeth Schmitz 2011-11-10 10:24:38 Re: count (DISTINCT field) OVER ()
Previous Message Thomas Kellerer 2011-11-10 09:02:36 Re: count (DISTINCT field) OVER ()