dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlConnectionStringBuilder Class / DefaultAuthPlugin Property

In This Topic
    DefaultAuthPlugin Property
    In This Topic
    Gets or set the name of the authentication plugin to be used.
    Syntax
    'Declaration
     
    Public Property DefaultAuthPlugin As String
    public string DefaultAuthPlugin {get; set;}

    Property Value

    The name of the authentication plugin.
    Remarks

    This connection parameter is used to set the MYSQL_DEFAULT_AUTH option of mysql client library. This option was added in MySQL 5.5.7, thus this connection string parameter has an effect only if Direct is set to false and a client library with version 5.5 or higher is used.

    This option may be omitted because the client may receive the name of the authentication plugin when performing handshake, but you may use this option to shorten client/server negotiation and avoid a round trip in the protocol.

    See Also