[英]Cannot Connect To PostgreSQL Database
PostgreSQL servers control who they listen and talk too. PostgreSQL服务器也控制他们听和说谁。 You did well comparing the same script between machines, but you may be coming from different subnets, or any other difference which would tickle this behaviour.
比较机器之间的同一脚本,您做得很好,但是您可能来自不同的子网,或者来自其他可能使这种行为发痒的差异。
On my box, this is controlled by the file /etc/postgresql/9.1/main/pg_hba.conf
-- hba stands for host-based access. 在我的盒子上,这是由文件
/etc/postgresql/9.1/main/pg_hba.conf
控制的-hba代表基于主机的访问。
So you may have to talk to your DBA or sysadmin. 因此,您可能必须与DBA或sysadmin进行交谈。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.