Untitled

 avatar
unknown
plain_text
2 years ago
329 B
3
Indexable
    • Open the pg_hba.conf file using any text editor. It is located at /etc/postgresql/[major.minor]/main/pg_hba.conf eg /etc/postgresql/12/main/pg_hba.conf location.
    • Change the following line
      local   all    postgres        peer
      to
      local   all    postgres        md5

sudo service postgresql restart