connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: Permission denied Is the server running on host "localhost" and accepting TCP/IP connections on port 5432
我配了 postgresql.conf中的
listen_address=’*'以及 pg_hba.conf中host all all 0.0.0.0 0.0.0.0 trust但依然不成功..............
我配了 postgresql.conf中的
listen_address=’*'以及 pg_hba.conf中host all all 0.0.0.0 0.0.0.0 trust但依然不成功..............
解决方案 »
- 项目中用到很多sql语句,怎么存储比较好?
- mysql问题,更新时查询条件字段是浮点数,无法更新,帮帮忙
- 执行完一个带order排序的sql查询后,如何按顺序加一个列,使列的值与每一条记录的顺序一致?
- mysql的触发器在使用update触发时,能针对到某一字段而不是某一行吗?
- 求教mysql cluster的备份策略
- 请教问题:如何设计多值或查询
- 求救,mysql问题
- mysql插入数据字段值被篡改!!
- 怎样从mysql中读取一个图片并在浏览器中显示出来呢?
- Linux虚拟机上的MySQL连接服务器端的MySQL,报错:ERROR 1130: Host xxx is not allowed to connect th
- mysq 编码
- 互动社区 数据库设计
局域网内写成
192.168.10.24/0
或者
192.168.1.16/0
最好不要用trust
这里配置不对,应该没有IP地址是0.0.0.0的
http://www.pgsqldb.org/pgsqldoc-8.1c/client-authentication.html#AUTH-PG-HBA-CONF
可以看下