當連接到與正確的密碼pgadmin
數據庫的Postgres,我發現了以下錯誤:如何解鎖超級用戶「Postgres的帳戶在PostgreSQL的
'Error connecting to the server:FATAL password authentication failed with user 'postgres'.
在hba
改變方法'trust'
而不是'md5'
後配置文件,然後鍵入:
ALTER USER POSTGRES WITH PASSWORD 'newpassword'
後再次改變方法爲MD5然後試圖連接到數據庫
Howerver成功地更改密碼(我在加密模式檢查,這是罰款),但得到了同樣的問題:
'Error connecting to the server:FATAL password authentication failed with user 'postgres'.
請給我建議,如果有此問題的任何其他的解決辦法。
僅供參考 - 這個問題是關於[ServerFault](http://serverfault.com) – dsh 2013-03-23 05:38:31
的主題什麼是您的pg_hba.conf文件中的條目? – dsh 2013-03-23 05:41:29