我在CentOS服务器上成功安装了PostgreSQL服务器8.4。 在那之后,我登录到CentOS的服务器通过使用“Postgres的用户,但我不能运行任何命令,出现错误:用户“postgres”的密码验证失败
密码验证失败的用户“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
什么Postgres的系统帐户和Postgres PostgreSQL的帐户之间的区别?以及如何检查我是否使用postgres PostgreSQL帐户? –
你应该知道你使用哪个密码。 – Daniel
我已经使用PostgreSQL帐户的密码。 –