且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

严重:用户“ postgres”的密码身份验证失败

更新时间:2021-11-13 08:31:00

在您的pg_hba.conf中

in your pg_hba.conf

# IPv4 local connections:
# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
host    all         all         127.0.0.1/32         trust

如果它不起作用,请尝试

if it does not work then try with

host    all         all         your_ip/32         trust

然后重新启动数据库
会很好

then restart your data base it will work fine