Specifying TCP port using MySqlConnection

Connection string

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

Server=myServerAddress;Port=1234;Database=myDataBase;Uid=myUsername;
Pwd
=myPassword;

The port 3306 is the default MySql port.

The value is ignored if Unix socket is used.