How to check what port mysql is running on

I did

mysql> SHOW GLOBAL VARIABLES LIKE ‘PORT’;

And that indicated that I was using port 3306 and that my search for the error continues.

Leave a Comment