psql: FATAL: no pg_hba.conf entry for host “XXX.XX.XX.XX“如何完美解决
Postgresql 数据库部署在服务器上时,如果要允许其他电脑远程连接,则需要对Postgresql 进行配置,否则,则会出现psql: FATAL: no pg_hba.conf entry for host “XXX.XX.XX.XX”, user “admin”, database “daga”, SSL off,如图需要在pg_hba.conf添加一条关于此用户的信息host all all hostID/32 md532是子网掩码的网段;md5是密码验证方法,可以改为trust记住一