Error for table name with - character in MySQL database datasource

Error in grafana timeseries chart for SQL query for table name with - character in MySQL. My table name has - character as shown below
ieddb-a-2022-02-14

Please help

Try surrounding the table name with backtick quotes `

If that does not work try double quotes or single quotes as what to use can depends on your exact database and database settings.

1 Like