MySqlConnectionProtocol Enumeration

MySQL Connector/Net

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: 6.2.2.0

Syntax

C#
public enum MySqlConnectionProtocol
Visual Basic (Declaration)
Public Enumeration MySqlConnectionProtocol
Visual C++
public enum class MySqlConnectionProtocol

Members

Member nameDescription
Sockets
TCP/IP style connection. Works everywhere.
Socket
Tcp
Pipe
Named pipe connection. Works only on Windows systems.
NamedPipe
UnixSocket
Unix domain socket connection. Works only with Unix systems.
Unix
SharedMemory
Shared memory connection. Currently works only with Windows systems.
Memory

See Also