Search Results for

    Show / Hide Table of Contents

    Enum MySqlAuthenticationMode

    Specifies the authentication mechanism that should be used.

    Namespace: MySql.Data.MySqlClient
    Assembly: MySql.Data.dll
    Version: 9.3.0
    Syntax
    public enum MySqlAuthenticationMode

    Fields

    Name Description
    AUTO
    Default

    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.

    EXTERNAL

    Authenticate using EXTERNAL.

    MYSQL41

    Authenticate using MYSQL41.

    PLAIN

    Authenticate using PLAIN.

    SHA256_MEMORY

    Authenticate using SHA256_MEMORY.

    In This Article
    Back to top Copyright © 2021, 2025, Oracle and/or its affiliates.