Error when trying to add Postgresql as a data source


I am trying to establish a connection between Grafana and my Postgresql data source plugin. But somehow, everytime it says

I am giving the right password.

I am using an open source version of grafana and postgres 14. Hosted in the same machine.

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?

  • How are you trying to achieve it?

  • What happened?

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?