Error while adding datasource for Influx db in Grafana

grafana
influxdb
#1

Below Error occurred by adding a data source in Grafana using Influx DB

“InfluxDB Error: error parsing query: found ON, expected identifier at line 1, char 25”
Settings used are

HTTP Url : http://localhost:8086
Method : direct
No authentication details given, Admin credentials supplied for Influx DB details

Grafana version : grafana-5.0.4.windows-x64
Influx DB version : influxdb_v0.9.0-rc11

#2

You’re using a very old version of InfluxDB. The latest version is 1.5.1. We strongly recommend you upgrade to the most recent version. You can find [installation instructions here](https://docs.influxdata.com/influxdb/v1.5/introduction/installation/.