<p>I am trying to setup grafana on kubernetes and need to use mysql as its backend to store dashboards and its config instead of persistent volume.
Is there any way around to achieve it?</p>
<p>Tried grafana helm charts expecting any variable to use mysql as backend but could not find any.</p>

<p>Yes Grafana supports the Mysql, Postgress</p>
<p><a href="https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#database" rel="nofollow noreferrer">https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#database</a></p>
<p>You can set the value at <strong>grafana.ini</strong></p>
<p><a href="https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml#L682" rel="nofollow noreferrer">https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml#L682</a></p>
<pre><code>grafana.ini:
    database:
      type: mysql
      host: ${host}
      user: ${username}
      password: ${password}
</code></pre>
<p>if looking forward to set environment variables</p>
<pre><code>GF_DATABASE_TYPE=mysql
GF_DATABASE_HOST=host
GF_DATABASE_USER=username
GF_DATABASE_PASSWORD=password
</code></pre>
