# Grafana 8.0.0: variable template definition without result

**URL:** <https://community.grafana.com/t/grafana-8-0-0-variable-template-definition-without-result/48657>\
**Category:** Grafana\
**Created:** [June 9, 2021, 9:30am UTC](https://community.grafana.com/t/grafana-8-0-0-variable-template-definition-without-result/48657 "2021-06-09T09:30:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcv](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@marcv](https://community.grafana.com/u/marcv)\
**Post date:** [June 9, 2021, 9:30am UTC](https://community.grafana.com/t/grafana-8-0-0-variable-template-definition-without-result/48657/1 "2021-06-09T09:30:50Z")

</div>

Since Grafana 8.0.0 behavior of variable template definitions do not render the expected result when:

- datasource is mysql and
- queried variable is int type

Example: SELECT Id FROM tableX  
Result ( Preview of values): None (no records while they are definitely in the database)

I’m coming from Grafana 7.5.7 and had no problem with this version.

Anybody else having similar problem or did i miss something?

---

<div class="post-metadata">

**Author:** ![marcv](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@marcv](https://community.grafana.com/u/marcv)\
**Post date:** [June 12, 2021, 2:28pm UTC](https://community.grafana.com/t/grafana-8-0-0-variable-template-definition-without-result/48657/2 "2021-06-12T14:28:36Z")

</div>

Solved in Grafana version 8.0.1  
Thank you!

---

<div class="post-metadata">

**Author:** ![anon70503803](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@anon70503803](https://community.grafana.com/u/anon70503803)\
**Post date:** [June 14, 2021, 11:02pm UTC](https://community.grafana.com/t/grafana-8-0-0-variable-template-definition-without-result/48657/3 "2021-06-14T23:02:02Z")

</div>

yep the squads merged some patches to handle just this. Glad your issue is now fixed!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [June 9, 2022, 9:31am UTC](https://community.grafana.com/t/grafana-8-0-0-variable-template-definition-without-result/48657/4 "2022-06-09T09:31:46Z")

</div>

This topic was automatically closed after 365 days. New replies are no longer allowed.
