How to check What port number MySQL is Running On

Open phpmyadmin and execute the following command. And remember to replace the database name with your own:

The result:

The commands:

USE my-database;
SHOW GLOBAL VARIABLES LIKE 'PORT';