Download PostgreSQL for windows, PostgreSQL configuration, and login to the database
go to this link: https://www.postgresql.org/ dan klik Download

and you will find this page and click on windows to install PostgreSQL on windows

click on Download the installer

and choose the highest, that is the latest version

after downloading, you can open it.

select the path to save this application

select components for application type

select path for save data application

create a password for the default user, this is the default postgres user

continuation of this page, the default port of the application

and also select default for this page

wait until it's finished

after downloading, cancel that page
open environment variables

click environment variables

and click path in user variable and also click edit

check number 6 and write path on search in file explorer, don’t forget on this pc and open that file

and after that open bin folder and copy path in that folder, example: E:\Aplikasi\PostgreSQL\bin

back to environment variable and paste that path, and also do the same thing in system variable

open Git Bash and write “psql —version“ for check, When you have connected, the PSQL version will appear

write “psql -U postgres”, this user default, that we made at the beginning, and after that insert a password as we made in number 9

write “select NOW();” , for try writing a query, to see the current time, and write “\q” for quit from DB (database)

END!!!!!!!!
Hello, ini article pertama saya di blog ini, jika anda tertarik dengan kisah saya, ayo kemari saya akan bercerita lebih banyak di blog ini.



