Specifying TCP/IP port using MySQL ODBC 3.51 Driver

Connection string

This MySQL Connector/ODBC 3.51 connection string can be used for connections to MySQL.

Driver={MySQL ODBC 3.51 Driver};Server=myServerAddress;Port=3306;
Database
=myDataBase;
User=myUsername;Password=myPassword;Option=3;

The driver defaults to port value 3306, if not specified in the connection string, as 3306 is the default port for MySQL.