Initiating PostgreSQL database

admin

Administrator
Staff member
I have a Win NT4 system with PHP installed (and working fine). I installed the latest release of Cygwin (the whole lot) since it also provided the installation necessary for PostgreSQL. I followed the instructions and tried to initiate a new database using ...

initdb -D/usr/local/pgsql/data --debug

... This uses the default settings in pg_hba.conf etc. and seems to start OK (it creates the folders and postmaster.pid file). However it gets to this line and then seems to stall ...

Running: /usr/bin/postgres -boot -x1 -C -F -D/usr/local/pgsql/data -d template1

... The task manager CPU usage shows 100% at this point. I have left this running for more than 2 hours but it never seems to get anywhere. Does anyone have any idea what I'm doing wrong (if anything)?

Thanks.
Bod.
 
Back
Top