If you have mistakenly written a password other than admin
. It will give a error like this
HTTP ERROR 503
Problem accessing /. Reason:
Service Unavailable
Now, you will need to change the password
Changing the password
Adding these two PATH Variables in your Environment Variables.
C:\Program Files\PostgreSQL\14\bin
C:\Program Files\PostgreSQL\14\lib
Note : 14
is my PostgreSQL version. It can be different for you. So, replace it with your current PostgreSQL version.
Now, open CMD and enter
psql -U postgres
-
Enter the password you previously entered.
-
After that, Enter this
\password postgres
Now, Enter admin
as password.
You have successfully updated your password