Skip to main content

Localhost Only

To make mysql listen only on the localhost interface, add the following to each of the three sections in /etc/my.cnf

bind-address = 127.0.0.1