Creating a MySQL Datasource using TLS?

Hi folks. Is it possible to create a MySQL datasource that connects using TLS? I can only seem to add non-secure connections to the server. Is there a config-file alternative to the GUI for this?

I’ve seen a few questions about using TLS for the grafana.ini configured “internal” database, but not much about actual datasources.

The official docs for this source make no mention of TLS
And old post here asks about secure connections but then seems to be talking about client certs.
There is a Git Issue that seems to be about this, but seems to have been abandoned.

Seems odd if we’re nearly in 2019 and still can’t use secure channels. Is the MySQL connector no longer maintained?

Just to clarify, this is not about the Grafana database or the session database. I have that using encrypted connections already.