Search Results for

    Show / Hide Table of Contents

    Enum CompressionType

    Defines the type of compression used when data is exchanged between client and server.

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

    Fields

    Name Description
    Disabled

    Disables compression.

    Preferred

    Uses compression if client and server are able to reach a concensus. Otherwise, compression is not used.

    Required

    Enforces the use of compression. If no concensus is reached, an error is raised.

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