【发布时间】:2011-10-25 16:25:52
【问题描述】:
我已成功在我的 CentOS 服务器上安装了 PostgreSQL server 8.4。 之后,我使用'postgres'用户登录CentOS服务器,但我无法运行任何命令,出现错误:
用户“postgres”的密码验证失败
这里是pg_hba.conf和postgresql.conf中的一些配置:
--------------------configuration in postgresql.conf-----------
listen_addresses = '*'
--------------------configuration in pg_hba.conf---------------
local all all md5
local all postgres md5
host all all 127.0.0.1/32 md5
host all all ::1/128 md5
【问题讨论】:
标签: database postgresql