Unable to connect to mysql db query error: tls: server selected unsupported protocol version 302

While trying to add datasource. I am getting db query error: tls: server selected unsupported protocol version 302. After upgrading only I started getting this error

My MySQL server is having tls_version | TLSv1.1,TLSv1.2

The MySQL version is mysql Ver 14.14 Distrib 5.7.21, for Linux (x86_64)

It looks like the latest Grafana. It doesn’t support MySQL with TLS 1.1

Please upgrade MySQL to a version that supports 1.2 incase you face the same issue.

1 Like