org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Database Administrators by sasi
, 1 year ago
FATAL: password authentication failed for user "postgres"
via Stack Overflow by O. Barinov
, 2 years ago
�����: ������������ "postgres" �� ������ �������� ����������� (�� ������)
via cloudera.com by Unknown author, 1 year ago
FATAL: password authentication failed for user "hive"
via GitHub by singalshashank
, 1 year ago
FATAL: could not open relation mapping file "global/pg_filenode.map": No such file or directory
via issuehub.io by Unknown author, 2 years ago
FATAL: could not open relation mapping file "global/pg_filenode.map": No such file or directory
via Google Groups by paulo rodrigues, 5 months ago
FATAL: no pg_hba.conf entry for host "127.0.0.1", user "xnat01", database "xnat", SSL off
org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:415)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:188)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:143)
at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29)
at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21)
at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:38)
at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:412)
at org.postgresql.Driver.connect(Driver.java:280)
at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
at org.eclipse.datatools.enablement.internal.postgresql.PostgreSQLJDBCConnection.(PostgreSQLJDBCConnection.java:47)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)

Users with the same issue

21 times, 1 week ago
44 times, 1 month ago
74 times, 3 months ago
481 times, 6 months ago
4 times, 9 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.