One parameter in this file is port.
Port = 3306 # Set the default port for mysql clients to connect to the server.
Find my.ini (my.cnf under Linux system) in the mysql running directory, and just check this parameter.