Re: createdb after initdb

Поиск
Список
Период
Сортировка
От missive@frontiernet.net (Lee Harr)
Тема Re: createdb after initdb
Дата
Msg-id 9jujnh$3pk6$1@node21.cwnet.roc.gblx.net
обсуждение исходный текст
Список pgsql-general
On Fri, 27 Jul 2001 20:45:45 +0100, Danno <danny@intuitivemedia.com> wrote:
> I'm trying to get Postgres up and running.  I've followed the
> instructions in the online documentation and started the postmaster.
>
> I can add users, so I gave myself the privieges to add users and
> create databases, but I get this error when I attempt to create a new
> database.
>
> $ ./createdb test
> ERROR:  CREATE DATABASE: Could not initialize database directory. Delete
> failed as well
> createdb: database creation failed
>

Make sure it is working on the correct dirctory:

createdb -D /usr/local/pgsql/data/ test

or try creating the new database from psql:

psql template1
create database test;


В списке pgsql-general по дате отправления:

Предыдущее
От: A_Schnabel@t-online.de (Andre Schnabel)
Дата:
Сообщение: Re: Visual Basic and PostgreSQL ODBC
Следующее
От: missive@frontiernet.net (Lee Harr)
Дата:
Сообщение: Re: Problems linking with libpq