I need to know the current port number being used by MySQL. What does MySQL use its port by default?
MySQL Server uses port 3306 by default. Further, you can also check the current port number being used by your MySQL Server. For this, you may run the following query:
SHOW VARIABLES LIKE "port";