Click or drag to resize

MySqlConnectionProtocol Enumeration

Allows the user to specify the type of connection that should be used.

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
public enum MySqlConnectionProtocol
Members
  Member nameValueDescription
Sockets1 TCP/IP style connection. Works everywhere.
Socket1 TCP/IP style connection. Works everywhere.
Tcp1 TCP/IP style connection. Works everywhere.
Pipe2 Named pipe connection. Works only on Windows systems.
NamedPipe2 Named pipe connection. Works only on Windows systems.
UnixSocket3 Unix domain socket connection. Works only with Unix systems.
Unix3 Unix domain socket connection. Works only with Unix systems.
SharedMemory4 Shared memory connection. Currently works only with Windows systems.
Memory4 Shared memory connection. Currently works only with Windows systems.
See Also