InfluxDB Data Source Error: Database not found

Hi everyone,

I’m facing a bit of an issue with Grafana and hoping someone here can help out. I’ve set up InfluxDB as my data source, but I keep getting this error: “InfluxDB Data Source Error: Database not found”. It’s been driving me crazy for a while now. When I was searching about this error, I came across to these resources/articles Error reading InfluxDB" when trying to add InfluxDB 2.0 Data Source with Flux Query Language aws devops certification path and based on them I tried the following-

  1. I double-checked the database name in InfluxDB – it definitely exists and is named correctly.
  2. I am also sure that my InfluxDB instance is running and accessible.
  3. I also verified that my configuration settings in Grafana match those in InfluxDB.

Still, no luck. I’ve even tried restarting both Grafana and InfluxDB but the error persists.

Has anyone else encountered this issue before? Any tips or tricks to get past this would be greatly appreciated!

Thanks in advance!

It may exist, but used user may not have permission to query that database. Use “admin” credentials just to prove that.

what does the influxdb data connection look like? connecting via uname and upass or token?