I have a IP column in MySQL,and I want to use this column as a templating variable ,this ip column’s values will fill into a list,so each time I click from top left ip list,the dashboard will be changed according to ip; but from http://docs.grafana.org/features/datasources/mysql/
Templating
You can use variables in your queries but there are currently no support for defining Query variables that target a MySQL data source.
It’s not possible right now. The MySQL data source is still in the alpha stage and is not fully functional yet. We will being making more improvements for the next release of Grafana.
Hoping next release coming soon, being most popular opensource database in the world, and being implemented json support in 5.7 and facebook’s MyRocks engine, MySQL should be first class resident in grafana~