LinkMenuExpand(external link)DocumentSearchCopyCopied

MySqlSslMode enumeration

SSL connection options.

public enum MySqlSslMode

Values

namevaluedescription
None0Do not use SSL.
Disabled0Do not use SSL. This is the same as None.
Preferred1Use SSL if the server supports it.
Required2Always use SSL. Deny connection if server does not support SSL.
VerifyCA3Always use SSL. Validate the Certificate Authority but tolerate name mismatch.
VerifyFull4Always use SSL. Fail if the host name is not correct.

See Also