mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
MySQL: Fix tls skip verify option (#96475)
MySQL: Fix skip tls verify option
This commit is contained in:
parent
d3badb8a07
commit
3fa8df6b62
@ -123,6 +123,8 @@ func NewInstanceSettings(logger log.Logger) datasource.InstanceFactoryFunc {
|
||||
return nil, err
|
||||
}
|
||||
cnnstr += "&tls=" + tlsConfigString
|
||||
} else if tlsConfig.InsecureSkipVerify {
|
||||
cnnstr += "&tls=skip-verify"
|
||||
}
|
||||
|
||||
if dsInfo.JsonData.Timezone != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user