您的位置:首页 > 运维架构 > Linux

centos针对postgres出现的postgresql Ident authentication failed for user

2013-10-17 18:43 956 查看
首先:将/var/lib/..../pg_hba.conf文件中的indent全修改为trust即可。

#local all all ident
# IPv4 local connections:
host all all 127.0.0.1/32 md5
host all all 127.0.0.1/32 trust
host all all 192.168.1.1/32 trust
host all all 192.168.1.2/32 trust

其次:重新启动postgresql
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐