Postgresql: password authentication failed for user “postgres”

前端 未结 19 1660
时光取名叫无心
时光取名叫无心 2020-11-22 13:34

I have installed PostgreSQL 8.4, Postgres client and Pgadmin 3. Authentication failed for user \"postgres\" for both console client and Pgadmin. I have typed user as \"postg

19条回答
  •  攒了一身酷
    2020-11-22 14:10

    I hope this will help you short of time. You can change the password of postgres sql by using bellow command.

    Command

    sudo -u postgres psql

    And next you can update the password

    Command

    Alter user postgres password 'YOUR_NEW_PASSWORD';

提交回复
热议问题