how to check on which port mysql server is running in windows code example
Example: how to see what port mysql is running on
mysql -u root
mysql> SHOW GLOBAL VARIABLES LIKE 'PORT';
# Default port is 3306 for MySQL
mysql -u root
mysql> SHOW GLOBAL VARIABLES LIKE 'PORT';
# Default port is 3306 for MySQL