我已经安装了PostgreSQL 8.4、Postgres客户端和Pgadmin 3.控制台客户端和Pgadmin的用户"postgres"身份验证均失败.我输入了用户"postgres"和密码"postgres",因为它以前工作过.但现在身份验证失败了.我以前做过几次,都没有这个问题.我该怎么办?发生了什么?
psql -U postgres -h localhost -W
Password for user postgres:
psql: FATAL: password authentication failed for user "postgres"
FATAL: password authentication failed for user "postgres"