PostgreSQL - Error
Error:
FATAL: no pg_hba.conf entry for host "IP", user admin, database "test"
连接数据库失败:PG配置文件pg_hba.conf中没有找到所对应的IP白名单条目
修改PG配置文件
文件:
pg_hba.conf
宝塔Linux安装路径:/www/server/pgsql/data/
1.在末尾增加host all all IP/32 trust(末尾32必须加)
2.重启服务后连接