$PGDATA problem

Started by Christian Marschalekabout 25 years ago3 messagesgeneral
Jump to latest

Should be selv explainable:

postgres@Server:/home/legshot > initdb
initdb: You must identify where the the data for this database
system will reside. Do this with either a --pgdata invocation
option or a PGDATA environment variable.

postgres@Server:/home/legshot > echo $PGDATA
/mnt/hdb/usr/local/pgsql/data

---

PGDATA is set and still initdb claims about it?
Any help?

Tia and regrads Chris

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Christian Marschalek (#1)
Re: $PGDATA problem

Christian Marschalek writes:

Should be selv explainable:

postgres@Server:/home/legshot > initdb
initdb: You must identify where the the data for this database
system will reside. Do this with either a --pgdata invocation
option or a PGDATA environment variable.

postgres@Server:/home/legshot > echo $PGDATA
/mnt/hdb/usr/local/pgsql/data

export PGDATA

--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/

In reply to: Peter Eisentraut (#2)
RE: $PGDATA problem

Thx...worked :o)

-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] On Behalf Of
Peter Eisentraut
Sent: Wednesday, March 21, 2001 11:07 PM
To: Christian Marschalek
Cc: [GENERAL] PostgreSQL
Subject: Re: [GENERAL] $PGDATA problem

Christian Marschalek writes:

Should be selv explainable:

postgres@Server:/home/legshot > initdb
initdb: You must identify where the the data for this

database system

will reside. Do this with either a --pgdata invocation option or a
PGDATA environment variable.

postgres@Server:/home/legshot > echo $PGDATA
/mnt/hdb/usr/local/pgsql/data

export PGDATA

--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/

---------------------------(end of
broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html