Showing posts with label how to start postgresql. Show all posts
Showing posts with label how to start postgresql. Show all posts

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