How to connect to TCP/IP port in MySQL Connector
This article explains the commands used to specify TCP/IP port in MySQL Connector.
Introduction
TCP/IP port are used by the transport layer for the communication purposes. To specify TCP/IP port in MYSQL Connector use following string.
Driver={MySQL ODBC 3.51.17 Driver};Server=SpecifiedServerAddress;Port=3306;Database=SpecifiedDatabase;User=Username; Password=Password;Option=2; |
NOTE: 3306 is the default value of the port.
Further Readings
You may also want to read these related articles.
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here