When attempting to configure or browse the PostgreSQL plug-in, the following error occurs
* Failed to logon:
Login Failed.
Reason : FATAL: Ident authentication failed for user "postgres"
Check if database cluster is running?
Check if following values are correct?
Port Number
SuperUser name
Password
Database Used for Initial Connection
1. The localhost is not mapped within /etc/hosts or not ordered properly
2. PostgreSQL resolve localhost to an IPv6 address, and access was not enabled in pg_hba.conf for IPv6.
uncommented "127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4".
Check the file pg_hba.conf on the client that access is enabled for both IPv4 and IPv6 connections
Example:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 ident
1. When you connect to the database via psql, you are by default using a unix domain socket connection - so the line starting with "local" applies.
2. Find the logs location, it will be helpful in troubleshooting.
/var/lib/pgsql/data
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center