Thread: initdb problem.

initdb problem.

From
"Elwyn"
Date:
Dear all,
 
I have installed cygwin, cygipc and postgresql into my PC( window 2000). I have follow the steps that giving by the website.
1) type 'ipc-daemon &' ----pop-up window display IPC-Daemon started!
2) type 'initdb -W -D /usr/local/pgsql/data'  -------error msg display says that, the system cannot find the path specified. Error executing 'D:\cygwin\bin\bin\pg_id -n -u'.
 
I have set all the path
C:> set PGHOME=D:\cygwin\bin
C:> set PGDATA=%PGHOME%\data
C:> set PGLIB=%PGHOME%\lib
C:> set PGHOST=localhost
C:> set PATH=%PGHOME%\bin;%PATH%
 
Regards,
Elwyn
 
 
 
 
 
 
 

Re: initdb problem.

From
"Leeuw van der, Tim"
Date:
Well, does this directory really already exist on your system?
 
--Tim
-----Original Message-----
From: pgsql-cygwin-owner@postgresql.org [mailto:pgsql-cygwin-owner@postgresql.org]On Behalf Of Elwyn
Sent: maandag 31 mei 2004 8:42
To: pgsql-cygwin@postgresql.org
Subject: [CYGWIN] initdb problem.

Dear all,
 
I have installed cygwin, cygipc and postgresql into my PC( window 2000). I have follow the steps that giving by the website.
1) type 'ipc-daemon &' ----pop-up window display IPC-Daemon started!
2) type 'initdb -W -D /usr/local/pgsql/data'  -------error msg display says that, the system cannot find the path specified. Error executing 'D:\cygwin\bin\bin\pg_id -n -u'.
 
I have set all the path
C:> set PGHOME=D:\cygwin\bin
C:> set PGDATA=%PGHOME%\data
C:> set PGLIB=%PGHOME%\lib
C:> set PGHOST=localhost
C:> set PATH=%PGHOME%\bin;%PATH%
 
Regards,
Elwyn