Code: Select all
org.hibernate.exception.GenericJDBCException: unable to obtain isolated JDBC connection [FATAL: password authentication failed for user "andrew"] [n/a]
Application.property:
Code: Select all
spring.datasource.name=postgres
spring.datasource.password=123
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
< /code>
Ich verwende Spring 3.4.3 und Java 21 in der Anwendung. Obwohl alles den Test Connect übergeht.
Dies war bei anderen Projekten nicht der Fall.andrew@MacBook-Air-Andrey-2 ~ % sudo lsof -i :5432
Password:
Sorry, try again.
Password:
COMMAND PID USER FD TYPE SIZE/OFF NODE NAME
postgres 310 postgres 7u IPv6 0t0 TCP *:postgresql (LISTEN)
postgres 310 postgres 8u IPv4 0t0 TCP *:postgresql (LISTEN)
Python 1034 andrew 11u IPv6 0t0 TCP localhost:50478->localhost:postgresql (ESTABLISHED)
Python 1034 andrew 12u IPv6 0t0 TCP localhost:50479->localhost:postgresql (ESTABLISHED)
Python 1034 andrew 13u IPv6 0t0 TCP localhost:50480->localhost:postgresql (ESTABLISHED)
postgres 1687 postgres 11u IPv6 0t0 TCP localhost:postgresql->localhost:50478 (ESTABLISHED)
postgres 1688 postgres 11u IPv6 0t0 TCP localhost:postgresql->localhost:50479 (ESTABLISHED)
postgres 1689 postgres 11u IPv6 0t0 TCP localhost:postgresql->localhost:50480 (ESTABLISHED)