Re: SV: PostgreSQL

From: Simon L. Nielsen (none@simon--nitro.dk.lh.bsd-dk.dk)
Date: Tue 08 Oct 2002 - 23:37:41 CEST


Date: Tue, 8 Oct 2002 23:37:41 +0200
From: "Simon L. Nielsen" <none@simon--nitro.dk.lh.bsd-dk.dk>
To: bsd-dk@bsd-dk.dk
Subject: Re: SV: PostgreSQL

On 2002.10.08 23:08:59 +0000, Torben Sørensen wrote:

> Tak for det... men det giver følgende:
> FreeBSD# su pgsql
> $ initdb
> initdb: You must identify where the the data for this database
> system will reside. Do this with either a -D invocation
> option or a PGDATA environment variable.
Naar du har installeret postgresql skriver den til sidst hvad du skal goere..
Du kan se det igen med :

[root@nitro:namedb] cat /usr/ports/databases/postgresql7/pkg-message
======================================================================
[CUT]

To initialize the database, you should run initdb as the "pgsql" user
(if you want to use your locale for collation, edit ~pgsql/.profile
and set the locale to your preference first).

Example:

  su -l pgsql -c initdb

You can then start PostgreSQL by running:

  /usr/local/etc/rc.d/010.pgsql.sh start
[CUT]
[root@nitro:namedb]

Det har tidligere virket fint for mig.

-- 
Simon L. Nielsen



This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:24:24 CET