MySQL ODBC 3.51 DriverSpecifying TCP/IP port

Driver={MySQL ODBC 3.51 Driver};Server=myServerAddress;Port=3306;

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


This connection string (Specifying TCP/IP port using MySQL ODBC 3.51 Driver) can be used for connections to MySQL.

Articlesread all »

Not the right connection string for you?

Start over in the connection string reference index.

You can also get help in the Q&A forums where you can ask your own question.

The kb articles contains how-tos and instructions and you can search for anything if you're not sure were to look.