Click or drag to resize

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
public enum MySqlAuthenticationMode
  Member nameValueDescription
Default0 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.
PLAIN1 Authenticate using PLAIN.
MYSQL412 Authenticate using MYSQL41.
EXTERNAL3 Authenticate using EXTERNAL.
SHA256_MEMORY4 Authenticate using SHA256_MEMORY.
See Also