How to specify port number used in MySQL

This article describes the command by which user can specify the port number used in MySQL.
  • 1887

Specification of port number in MySQL

The port number is used for addressing information used to identify sender's and receiver's messages in computer networking. These are mostly used with TCP/IP connection. This connection string is used for specifying the port to be used in MySQL.

Server=specifiedServerAddress;Database=specifiedDatabase;Uid=Username;Pwd=password;Port=1234;

NOTE: The default port in MySQL is 3306.

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.