Senin, 28 September 2020

POSTGRES=setting password

 

Setting a password for the postgres user

On Linux systems, there is no default password set.

To set the default password:

  1. Run the psql command from the postgres user account:

    sudo -u postgres psql postgres
    
  2. Set the password:

    \password postgres
    
  3. Enter a password.

  4. Close psql.

    \q
    

Allowing local connections

Tidak ada komentar:

Posting Komentar