MySqlAuthenticationMode Enumeration |
Specifies the authentication mechanism that should be used.
Namespace:
MySql.Data.MySqlClient
Assembly:
MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntaxpublic enum MySqlAuthenticationMode
Public Enumeration MySqlAuthenticationMode
Members
| Member name | Value | Description |
---|
| Default | 0 |
If SSL is enabled or Unix sockets are being used, sets PLAIN as the authentication mechanism;
otherwise, it tries to use MYSQL41 and then SHA256_MEMORY.
|
| AUTO | 0 | |
| PLAIN | 1 |
Authenticate using PLAIN.
|
| MYSQL41 | 2 |
Authenticate using MYSQL41.
|
| EXTERNAL | 3 |
Authenticate using EXTERNAL.
|
| SHA256_MEMORY | 4 |
Authenticate using SHA256_MEMORY.
|
See Also