PostgreSQL Information

**Note: If you don't have the Utopia solution cloned to your local machine, follow these instructions

Installation and Setup

Connecting to your Server

Creating your Database

Changing the postgres user's password

If you accidentally didn't set the postgres user's password to our standard pass@word1, then here are steps to help you fix it.

  1. Open Command Prompt and navigate to the PostgreSQL bin folder on your machine. Assuming you didn't change the default installation directory, the path should be C:\Program Files\PostgreSQL\13\bin
  2. Once there, you can use the psql command (another way to do this is to add that bin folder path to your environment PATH variable). Type the following command:
    psql -U postgres
  3. You will be asked for the current password of the pstgress user. Enter it to continue.
  4. Type alter user postgres with password 'pass@word1', and you can substitute pass@word1 with any password you happen to need.
  5. The command \q exits you back to the regular command line. Yay, your postgres user password will now be what you want!

Revision #3
Created 18 July 2022 23:10:17 by Bryce Holloway
Updated 9 February 2023 20:20:50 by Bryce Holloway