Como conectar o MySQL com especificar port thorugh cmd

mysql -u root -p --port=8888

8888 is the port number
You can use any port number.
Harshvardhan Sangram Patil