Re: postgres not allowing new database? - Mailing list pgsql-general

From lee johnson
Subject Re: postgres not allowing new database?
Date
Msg-id 39B7AFF7.54F4C5F7@imyourhandiman.com
Whole thread Raw
In response to Re: postgres not allowing new database?  ("Len Morgan" <len-morgan@crcom.net>)
List 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@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



pgsql-general by date:

Previous
From: Andreas Tille
Date:
Subject: Stored Procedures
Next
From: chris mutchler
Date:
Subject: query question