Specifying TCP/IP port using MyODBC
Connection string
This MyODBC 2.50 connection string can be used for connections to MySQL.
Driver={mySQL};Server=myServerAddress;Port=3306;Option=131072;Stmt=;
Database=myDataBase;User=myUsername;Password=myPassword;
The driver defaults to port value 3306, if not specified in the connection string, as 3306 is the default port for MySQL.