Re: Postgres : error while running initdb - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: Postgres : error while running initdb
Date
Msg-id 20030801134205.GB2240@tishler.net
Whole thread Raw
In response to Postgres : error while running initdb  (Savita Banginwar <savita@sutra.co.jp>)
List pgsql-cygwin
Savita,

On Thu, Jul 31, 2003 at 10:45:04AM +0530, Savita Banginwar wrote:
> initdb: The directory /usr/local/pgsql/data exists but is not empty.
>
> If you want to create a new database system, either remove or empty the
> directory /usr/local/pgsql/data or run initdb with an argument other than
> /usr/local/pgsql/data.
>
> This is the response that I see when I typed in initdb -D
> /usr/local/pgsql/data to initialize the database.  I can't figure out
> what is wrong?
>
> Can u please help me....

What happens when you follow the above suggestions?  That is, does the
following work?

    1. $ rm -fr /usr/local/pgsql/data
       $ initdb -D /usr/local/pgsql/data

    2. $ initdb -D /usr/share/postgresql/data

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Re: a few questions
Next
From: Jason Tishler
Date:
Subject: Re: Can't find the .README file