Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the ServerName for TLS configuration (#988)
When TLS hostname validation used for the MySQL connection, the ServerName property needs to be set so that it knows which name to validate on the certificate. Without this option and with InsecureSkipVerify set to false, validation will error here with a fatal error otherwise: ``` FATAL tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config ```
- Loading branch information