pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: H S <aras_h1988@yahoo.com>
To: admin <pgsql-admin@postgresql.org>
Subject: Fw: Re: createdb does not work?!
Date: Mon, 14 Mar 2011 23:01:39 -0700 (PDT)
Message-ID: <738725.91812.qm@web65909.mail.ac4.yahoo.com> (raw)



--- On Tue, 3/15/11, H S <aras_h1988@yahoo.com> wrote:

From: H S <aras_h1988@yahoo.com>
Subject: Re: [ADMIN] createdb does not work?!
To: "dhaval jaiswal" <dhavallj@hotmail.com>
Date: Tuesday, March 15, 2011, 9:31 AM

in one terminal I have recieved this notes:

LOG:  database system was shut down at 2011-03-15 07:56:00 EDT
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections

then I open another terminal and 
insert command createdb and so on.

It is correct?

and please let me know which commands or shortcuts is useful for working with it. 



--- On Tue, 3/15/11, dhaval jaiswal <dhavallj@hotmail.com> wrote:

From: dhaval jaiswal <dhavallj@hotmail.com>
Subject: Re: [ADMIN]
 createdb does not work?!
To: aras_h1988@yahoo.com, pgsql-admin@postgresql.org
Date: Tuesday, March 15, 2011, 8:34 AM




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 EDT
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections





 		 	   		  



      


      

view thread (3+ messages)

Message-ID: <738725.91812.qm@web65909.mail.ac4.yahoo.com>
Permalink:  ../738725.91812.qm@web65909.mail.ac4.yahoo.com/
Also on:    postgresql.org/message-id/738725.91812.qm@web65909.mail.ac4.yahoo.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: aras_h1988@yahoo.com
  Subject: Re: Fw: Re: createdb does not work?!
  In-Reply-To: <738725.91812.qm@web65909.mail.ac4.yahoo.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