Ident Authentication failed for user Centos 8 Postgresql12

梦想的初衷 提交于 2021-02-11 14:02:23

问题


So I have problem with ident Authentication on Centos 8 and postgresql-12. Errors below during server addition:::: pgadmin4 error creation server

connection on localhost: postgres connect localhost

I really tried many answers but no one worked for me. pg_nba.conf file now has following strings:

  1. local all all trust
  2. local all all md5
  3. host all all 127.0.0.1/32 md5
  4. host all all ::1/128 md5
  5. host all all 10.1.1.0

File pg_ident.conf is empty so I don't have any mapping, Help me ples

but after execution following lines I have entered in console

  • su postgres
  • psql

回答1:


Solved. It was just problem with ident server which I didn't launch



来源:https://stackoverflow.com/questions/61462238/ident-authentication-failed-for-user-centos-8-postgresql12

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!