MySQLCommunityServer.Port

From Xojo Documentation

Property (As Integer )
aMySQLCommunityServer.Port = newIntegerValue
or
IntegerValue = aMySQLCommunityServer.Port

Supported for all project types and targets.

The port to use to connect to the MySQL Community Server database. The default is 3306.

Example

// db is a MySQLCommunityServer
db.Port = 3400