当我最终完成 pg_stats_reporter 的安装和配置时
然后出现这个问题,我该如何解决
Error in pg_stats_reporter.ini
- Connection failure.(repository database = postgres)
Note: Need to manually update the pg_stats_reporter.ini if have upgraded.
我已经修改了 pg_stats_reporter.ini
host = localhost
port = 5432
dbname = postgres
username = postgres
password = postgres
重启数据库和httpd
但是没用。
此致。
最佳答案
它看到 pg_hba.conf 没有被正确配置
只需添加此信任消息
host poprdres poprdres 127.0.0.1/32 trust
到 pg_hbaa.conf 并且一切顺利。
关于php - 如果已升级,请注意 : Need to manually update the pg_stats_reporter. ini,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52326179/