Re: postgres not allowing new database?

From: lee johnson <lee(at)imyourhandiman(dot)com>
To:
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres not allowing new database?
Date: 2000-09-07 15:10:47
Message-ID: 39B7AFF7.54F4C5F7@imyourhandiman.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Trewern, Ben" wrote:

You need to create a database first and connect to it.

Best to do

createdb testdb

at the command line

below is error i get when trying to do above command
i realize i need to start postmaster but all trys not successful
as from docs i can't tell how to get my template1 created
( in /usr/local/data......... )
as that is required apparantly for postmaster..........
--------------------------------------------
[handiman(at)localhost /root]$ createdb handiman
psql: connectDBStart() -- connect() failed: Connection refused
Is the postmaster running at 'localhost'
and accepting connections on Unix socket '5432'?
createdb: database creation failed

In response to

Browse pgsql-general by date

  From Date Subject
Next Message chris mutchler 2000-09-07 15:31:03 query question
Previous Message Andreas Tille 2000-09-07 13:31:09 Stored Procedures