Probably the main thing is to make sure MySQL is not listening for outside connections. You can check like so:
Code:
# netstat -lvnut
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 4821/mysqld
...
If you see 127.0.0.1:3306 (or the IPv6 equivalent, can't remember what it is right now) in the Local Address column, then MySQL is only listening on the loopback interface. If you see 0.0.0.0:3306 (or :::3306), it is accepting connections from the outside world and you should change
bind-address.
If you don't see it in the netstat output, then MySQL is probably using a UNIX socket (you can check with
netstat -lvpn --protocol=unix) which is not open to the outside.