Create a Database Location
- Create the folder F:\pgdata as a location to store PostgreSQL data.
Install PostgreSQL
- Download the PostgreSQL (Windows x86-64) installation image from the following site, save it anywhere, and double-click to open. Version 11.7 is used here.
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
- Follow the prompts and enter the following details:
PostgreSQL | |
---|---|
Installation Directory | C:\Program Files\PostgreSQL\11 (Default value) |
Component | (Default value) |
Data Directory | F:\pgdata |
Password | |
Port | 5432 (Default value) |
Locale | (Default value) |
- You will be asked whether you are going to install additional components, but it is not necessary here. Uncheck the box and click Finish to exit the wizard.
Post your comment on this topic.