Fw: Re: createdb does not work?!

From: H S <aras_h1988(at)yahoo(dot)com>
To: admin <pgsql-admin(at)postgresql(dot)org>
Subject: Fw: Re: createdb does not work?!
Date: 2011-03-15 06:01:39
Message-ID: 738725.91812.qm@web65909.mail.ac4.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

--- On Tue, 3/15/11, H S <aras_h1988(at)yahoo(dot)com> wrote:

From: H S <aras_h1988(at)yahoo(dot)com>
Subject: Re: [ADMIN] createdb does not work?!
To: "dhaval jaiswal" <dhavallj(at)hotmail(dot)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(at)hotmail(dot)com> wrote:

From: dhaval jaiswal <dhavallj(at)hotmail(dot)com>
Subject: Re: [ADMIN]
createdb does not work?!
To: aras_h1988(at)yahoo(dot)com, pgsql-admin(at)postgresql(dot)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(at)yahoo(dot)com
Subject: [ADMIN] createdb does not work?!
To: pgsql-admin(at)postgresql(dot)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(at)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

Browse pgsql-admin by date

  From Date Subject
Next Message Gnanakumar 2011-03-15 07:08:07 Re: PSQLException: ERROR: could not open relation with OID xxxx
Previous Message dhaval jaiswal 2011-03-15 05:04:35 Re: createdb does not work?!