国产欧美日韩第一页|日本一二三不卡视频|在线精品小视频,亚洲第一免费播放区,metcn人体亚洲一区,亚洲精品午夜视频

幫助中心 >  技術(shù)知識庫 >  數據庫 >  數據庫管理 >  PostgreSQ 連接問(wèn)題 FATAL: no pg_hba.conf entry for host

PostgreSQ 連接問(wèn)題 FATAL: no pg_hba.conf entry for host

2018-05-04 20:07:34 7319

ostgreSQL: IDENT authentication failed for user postgres

出現這個(gè)問(wèn)題是因為PostgreSQL的Client Authentication 使用了ident authentication. 
通過(guò)修改pg_hda.conf可以解決.
Ref: http://www.tjdsmy.cn/docs/8.1/interactive/client-authentication.html

# Allow any user on the local system to connect to any database under
# any database user name using Unix-domain sockets (the default for local
# connections).
#
# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
local       all                    all                                                        trust

# The same using local loopback TCP/IP connections.
#
# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
host        all                    all               127.0.0.1/32                  trust  


提交成功!非常感謝您的反饋,我們會(huì )繼續努力做到更好!

這條文檔是否有幫助解決問(wèn)題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進(jìn)一步的反饋信息:

在文檔使用中是否遇到以下問(wèn)題:
-->