- 工信部备案号 滇ICP备05000110号-1
- 滇公安备案 滇53010302000111
- 增值电信业务经营许可证 B1.B2-20181647、滇B1.B2-20190004
- 云南互联网协会理事单位
- 安全联盟认证网站身份V标记
- 域名注册服务机构许可:滇D3-20230001
- 代理域名注册服务机构:新网数码
ostgreSQL: IDENT authentication failed for user postgres
出现这个问题是因为PostgreSQL的Client Authentication 使用了ident authentication.
通过修改pg_hda.conf可以解决.
Ref: http://www.landui.com/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
售前咨询
售后咨询
备案咨询
二维码
TOP