Binding MySQL to localhost

# cat /etc/my.cnf 
[mysqld]
bind-address=127.0.0.1