<分区>
我已经成功地在我的 CentOS 服务器上安装了 PostgreSQL server 8.4。 之后,我使用'postgres'用户登录到CentOS服务器,但我无法运行任何命令,出现错误:
password authentication failed for user "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