How to change the MySQL port no in windows.
Open the my.ini file present in the MySQL server installation directory. Change the port number to desired port number.
By default port no entry will look like:
You can change the value of port to the desired port number.
After making change in my.ini file save the file and then restart mysql server.