Manually Start PostgreSQL Windows

Start PostgreSQL in Windows


Download and install/extract the postgre server

Create a data folder under pgsql as
C:\softwares\installed\pgsql\data

Open command prompt and Navigate to the extracted/installed folder,

For Example
C:\softwares\installed\pgsql\bin

and type the following command



pg_ctl -D C:\softwares\installed\pgsql\data -l logfile start





finally,
type initdb.exe C:\softwares\installed\pgsql\data for initializing the database


Share this

Related Posts

Previous
Next Post »

2 comments

comments
27 January 2014 at 05:43 delete

You can start the service directly using - 'net start alfrescoPostgreSQL' where alfrescoPostgreSQL is the service name

Reply
avatar
31 March 2014 at 02:57 delete

Thank you Sujay.. Point noted.. :-)

Reply
avatar