Re: postgres not allowing new database?

Поиск
Список
Период
Сортировка
От lee johnson
Тема Re: postgres not allowing new database?
Дата
Msg-id 39B7AFF7.54F4C5F7@imyourhandiman.com
обсуждение исходный текст
Ответ на Re: postgres not allowing new database?  ("Len Morgan" <len-morgan@crcom.net>)
Список 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 по дате отправления:

Предыдущее
От: Andreas Tille
Дата:
Сообщение: Stored Procedures
Следующее
От: chris mutchler
Дата:
Сообщение: query question