Reputation: 15581
I am using Grafana mysql data connector and trying to write a select query.
The select query is throwing an error - "Found no column named time or time_sec"
Here is the query
SELECT main_id, ipaddress FROM table1;
Upvotes: 2
Views: 13223
Reputation: 997
This happens when you are using a "Graph" visualisation, with X-Axis mode set to "Time" like this, because grafana is trying to find what time series to map the graph against:
From your query, it seems like you're looking to visualise a data that does not have a time series.
Depending on the data you are playing with & your goal, either:
Upvotes: 5