Click or drag to resize
CompressionType Enumeration
Defines the type of compression used when data is exchanged between client and server.

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.21
Syntax
public enum CompressionType
Members
  Member nameValueDescription
Preferred0 Uses compression if client and server are able to reach a concensus. Otherwise, compression is not used.
Required1 Enforces the use of compression. If no concensus is reached, an error is raised.
Disabled2 Disables compression.
See Also