Connecting Grafana to the PostgreSQL database

Hello everyone,

I’m a beginner and I want to connect my Grafana visualization platform to a PostgreSQL database so that it can pick the data to be visualized. The problem is that I can’t connect it.


I took inspiration from this site to integrate my PostgreSQL database: PostgreSQL - ChirpStack open-source LoRaWAN® Network Server documentation. As you can see, I didn’t change the database credentials (I left it with the username and password “chirpstack_integration”).

So I do not really understand what is wrong, I will also add the logs of the Grafana platform:

Please help me.

Do you have the docker compose file or docker run? (I would recommend doing this setup with docker compose, it’s easier to maintain). I think I know what’s your problem, but post here what you have and I will help you.