MyDAC

TMyConnection.Port Property

Used to specify the port number for a TCP/IP connection.

Class

TMyConnection

Syntax

property Port: integer default MYSQL_PORT;

Remarks

Use the Port property to specify the port number for a TCP/IP connection. Note that TCustomDAConnection.Server property determines the type of the connection.

The default value is 3306.

The Port property can be used only if TCustomMyConnection.Options is set to False.

See Also

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