From: | missive(at)frontiernet(dot)net (Lee Harr) |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: createdb after initdb |
Date: | 2001-07-28 14:54:42 |
Message-ID: | 9jujnh$3pk6$1@node21.cwnet.roc.gblx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, 27 Jul 2001 20:45:45 +0100, Danno <danny(at)intuitivemedia(dot)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;
From | Date | Subject | |
---|---|---|---|
Next Message | Lee Harr | 2001-07-28 14:58:44 | Re: Problems linking with libpq |
Previous Message | Andre Schnabel | 2001-07-28 07:15:24 | Re: Visual Basic and PostgreSQL ODBC |