0

Good evening, I have created a project with spring and i'm trying to do connection with my postgresql database with this configuration enter image description here

But when i execute my program , i have this issue: enter image description here

fabie is my windows user and not my superuser. why my application trying to connect with my windows user instead of my superuser.

My file pg_hba.conf enter image description here

My file postgresql.conf enter image description here

Please help me to understand and to resolve my issue.

Thank you.

Fabeyene
  • 21
  • 1
  • 3
  • Where is the property `spring.datasource.username` set? In the `application.properties` file or somewhere else? What [relative] location is that file at? – The Impaler May 01 '22 at 02:56
  • Thank you for your answer. i had spring.datasource.user instead of spring.datasource.username in my application.properties. Now it works. – Fabeyene May 01 '22 at 09:34

0 Answers0