Port
Specifies the port number used to connect to the MySQL server. This property supports both single-node and clustered environments. For clusters, you may specify a comma-separated list of ports that correspond to each server in the Server property.
Data Type
string
Default Value
"3306"
Remarks
This property defines the network port used to establish a connection to the MySQL database server. By default, MySQL uses port 3306.
If connecting to a high-availability or clustered setup, you may specify multiple ports as a comma-separated list. Each port should match the corresponding entry in the Server list.
Examples:
- Single server: Port="3306"
- Cluster: Port="3306,3307,3308" (matches Server="db1,db2,db3")