MyDAC

TMyProtocol Enumeration

Specifies which protocol to use when connecting to server.

Unit

MyClasses

Syntax

TMyProtocol = (mpDefault, mpTCP, mpPipe, mpMemory, mpSSL, mpHttp);

Values

Value Meaning
mpDefault Similar to mpTCP, except the cases when you connect to a local server and the OS supports sockets (Unix) or named pipes (Windows), they are used instead of TCP/IP to connect to the server.
mpHttp Uses HTTP Network Tunneling to connect to the server.
mpMemory Uses SharedMem to connect to the server. Can be used with Direct set to False and libmysql.dll 4.1.
mpPipe Uses NamedPipes to connect to the server.
mpSocket Uses sockets to connect to the server. Can be used with Direct set to False and libmysql.dll 4.1.
mpSSL Uses protected SSL connection with the server. To use SSL you need to set TMyConnection.SSLOptions.
mpTCP Uses TCP/IP to connect to the server.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback