pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dhaval jaiswal <dhavallj@hotmail.com>
To: aras_h1988@yahoo.com
To: pgsql-admin@postgresql.org
Subject: Re: createdb does not work?!
Date: Tue, 15 Mar 2011 10:34:35 +0530
Message-ID: <SNT117-W5915F7E3DD8BBA78A67D5EDFCF0@phx.gbl> (raw)
In-Reply-To: <519929.71402.qm@web65908.mail.ac4.yahoo.com>
References: <519929.71402.qm@web65908.mail.ac4.yahoo.com>


Try following command
 
createdb -h <hostname> -p <port_number> -U <user_name> [DBNAME]
psql -d [DBNAME]  -U <user_name>

 


Date: Mon, 14 Mar 2011 21:39:17 -0700
From: aras_h1988@yahoo.com
Subject: [ADMIN] createdb does not work?!
To: pgsql-admin@postgresql.org





Dear Sirs,
After this command , what I should do?
Can not use createdb  test  command and psql test.  
I installed correctly postgres by source code. 

[postgres@localhost bin]$ ./postgres -D /usr/local/pgsql/data 
LOG:  database system was shut down at 2011-03-15 07:56:00 EDTLOG:  autovacuum launcher startedLOG:  database system is ready to accept connections




 		 	   		  =

view thread (3+ messages)  latest in thread

Message-ID: <SNT117-W5915F7E3DD8BBA78A67D5EDFCF0@phx.gbl>
Permalink:  ../SNT117-W5915F7E3DD8BBA78A67D5EDFCF0@phx.gbl/
Also on:    postgresql.org/message-id/SNT117-W5915F7E3DD8BBA78A67D5EDFCF0@phx.gbl

 · 

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-admin@postgresql.org
  Cc: dhavallj@hotmail.com, aras_h1988@yahoo.com
  Subject: Re: createdb does not work?!
  In-Reply-To: <SNT117-W5915F7E3DD8BBA78A67D5EDFCF0@phx.gbl>
  References: <519929.71402.qm@web65908.mail.ac4.yahoo.com> <SNT117-W5915F7E3DD8BBA78A67D5EDFCF0@phx.gbl>

* 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