There are two modes of connecting to server in dotConnect for MySQL: Direct mode and Client mode.
Direct mode is preferred. It supports almost every MySQL feature and provides you with easier installation of your application (no need to ship libmysql.dll with the install pack) and makes you more independent of .NET environment settings at the target machine.
To switch to Client mode, set Direct to false. This allows you to use data compression (Compress), or to test new client libraries from MySQL developers.
When a value is assigned to this property, the MySqlConnection is closed.
Direct is always true for .NET Compact Framework.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2