+
80
-

连接PostgreSQL出现错误Ident authentication failed for user?

连接PostgreSQL出现错误Ident authentication failed for user?

网友回复

+
1
-

认证方式要改一下

vim /var/lib/pgsql/10/data/pg_hba.conf

增加一行

host all all 0.0.0.0/0 md5

重启

systemctl restart postgresql-10.service

我知道答案,我要回答