postgresql连接时,报错。分析是可能是忘记密码,重新设置用户密码:
$ su postgres
$ psql -h localhost
ALTER USER postgres with password 'YourNewPassword';