Re: createdb does not work?!

From: dhaval jaiswal <dhavallj(at)hotmail(dot)com>
To: <aras_h1988(at)yahoo(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: createdb does not work?!
Date: 2011-03-15 05:04:35
Message-ID: SNT117-W5915F7E3DD8BBA78A67D5EDFCF0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


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 EDTLOG: autovacuum launcher startedLOG: database system is ready to accept connections

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message H S 2011-03-15 06:01:39 Fw: Re: createdb does not work?!
Previous Message Gnanakumar 2011-03-15 04:46:44 Re: PSQLException: ERROR: could not open relation with OID xxxx