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

PostgreSQ 連接問題 FATAL: no pg_hba.conf entry for host

2018-05-04 20:07:34 8297

ostgreSQL: IDENT authentication failed for user postgres

出現(xiàn)這個問題是因為PostgreSQL的Client Authentication 使用了ident authentication. 
通過修改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  


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

這條文檔是否有幫助解決問題?

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

在文檔使用中是否遇到以下問題: