Re: SV: PostgreSQL

From: Torben Sørensen (none@tos--tinx.dk.lh.bsd-dk.dk)
Date: Wed 09 Oct 2002 - 00:14:38 CEST


From: Torben Sørensen <none@tos--tinx.dk.lh.bsd-dk.dk>
To: bsd-dk@bsd-dk.dk
Subject: Re: SV: PostgreSQL
Date: Wed, 9 Oct 2002 00:14:38 +0200

Takker og bukker :)
/mvh
Torben

On Tuesday 08 October 2002 23:37, Simon L. Nielsen wrote:
> 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.

-- 
Venlig hilsen
Torben Sørensen
  -- www.tinx.dk 



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