SSL options for connection.
Namespace:
MySql.Data.MySqlClient
Assembly:
MySql.Data (in MySql.Data.dll) Version: 6.2.2.0
Syntax
C# |
---|
public enum MySqlSslMode |
Visual Basic (Declaration) |
---|
Public Enumeration MySqlSslMode |
Visual C++ |
---|
public enum class MySqlSslMode |
Members
Member name | Description | |
---|---|---|
None |
Do not use SSL.
| |
Preferred |
Use SSL, if server supports it.
| |
Prefered | ||
Required |
Always use SSL. Deny connection if server does not support SSL.
Do not perform server certificate validation.
| |
VerifyCA |
Always use SSL. Validate server SSL certificate, but different host name mismatch.
| |
VerifyFull |
Always use SSL and perform full certificate validation.
|