PostgreSql connection

failed to connect to server - Please try again. If the issue persists please open a support ticket that notes the time in UTC.
I get this error. I am printing data from Python to the Postgresql database with code, but I cannot connect it to the Grafana application.

please post your python code?




The python code is running and uploading data to PostgreSql. but I get this warning for grafana connection. By the way, my PostgreSql version is 16.2. Is there any problem in choosing the version?

Hello @kaganberber,
you use the port 5433 within the datasource configuration within Grafana and the port 5432 within your Python script. Could that be the problem with your connection?

1 Like