Grafana 7.0.0-beta1 unable to connect postgres

Hi,

I try new grafana 7.0.0-beta1 version. And I find diffcult to connect the PostgreSQL. I am run postgres in docker. In Host I tried giving both localhost and docker ip(172.17.0.*). but it’s working fine in stable version ( * v6.7.3 (a04ef6cefc))
And I am attaching the image for your reference.

Hi,

Are you running Grafana on Docker too? It could explain why ‘localhost’ is not working.

For the second error, an issue was created here: https://github.com/grafana/grafana/issues/24387
You can put a thumbs up or comment to say that you face the same issue. I could reproduce it on 7.0.0-beta1 but not on master so it should be fixed on the next release.

1 Like

@agnestoulet1 yes, I am running the grafana in docker. If I run grafana in ubuntu instead of docker. Whether It will work? Thanks for the clarification.