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
#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
相关文章推荐
- CENTOS针对POSTGRES出现的POSTGRESQL IDENT AUTHENTICATION FAILED FOR USER
- PostgreSQL: IDENT authentication failed for user postgres
- sysbench下面测试postgresql遇到IDENT authrntication failed for user postgres
- psql: FATAL: Ident authentication failed for user “postgres”
- OperationalError: FATAL: Ident authentication failed for user “postgres”
- pgadmin3 新建服务器出现错误 Peer authentication failed for user "postgres" 的解决办法
- Rails: could not connect to database postgres: FATAL: Peer authentication failed for user "username"
- psql -U myusername mydb 错误:psql: FATAL: Ident authentication failed for user "mypguser"
- 【Linux】psql: FATAL: Ident authentication failed for user "username" Error and Solution
- Postgres 解决"Peer authentication failed for user 'postgres'"的问题
- Peer authentication failed for user "postgres" 的解决办法
- 关于连接PostgreSQL时提示 FATAL: password authentication failed for user "连接用户名" 的解决办法
- pg_dump: [archiver (db)] connection to database “dbase” failed: FATAL: Peer authentication failed for user “postgres”
- (转载)postgresql navicat 客户端连接验证失败解决方法:password authentication failed for user
- 使用samba时出现"Failed to find entry for user..."
- 遇到问题:push的时候出现fatal: Authentication failed for 'https://git.oschina.net/andthink/zsxw_android.git/'问
- pgpool authentication with pgpool failed for user
- Ubuntu14.04利用samba实现Linuxwindows共享出现Failed to add entry for user linux.问题的解决方案
- MySQL 出现 ERROR 1396 (HY000): Operation CREATE USER failed for ‘xxx’ 问题的解决方法
- psql: FATAL: Peer authentication failed for user “xxx”