PostgreSQ 连接问题 FATAL: no pg_hba.conf entry for host

PostgreSQ数据库为了安全,它不会监听除本地以外的所有连接请求,要解决这个问题,只需要在PostgreSQL数据库的安装目录下找到/data/pg_hba.conf,定位到“# IPv4 local connections:” ,加上:

 “host    all         all         192.168.x.x/24        password ”

posted @ 2010-05-15 18:16  javaite  阅读(1033)  评论(0编辑  收藏  举报