| From: | Jason Tishler <jason(at)tishler(dot)net> |
|---|---|
| To: | Savita Banginwar <savita(at)sutra(dot)co(dot)jp> |
| Cc: | pgsql-cygwin(at)postgresql(dot)org |
| Subject: | Re: Postgres : error while running initdb |
| Date: | 2003-08-01 13:42:05 |
| Message-ID: | 20030801134205.GB2240@tishler.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jason Tishler | 2003-08-01 13:44:12 | Re: Can't find the .README file |
| Previous Message | Jason Tishler | 2003-08-01 13:38:52 | Re: a few questions |