Port 3306 is used for network connection to the MySQL database. If you want to only have MySQL allow local requests you can either edit the MySQL options file or use the mysqld command line options.
Starting the server with :
mysqld --skip-networking
Will turn off the network functionality.
MySQL Manual refrences:
mysqld Command-line Options
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.