If you disable all of mysql's ports, nobody will be able to use it, not even you. If that's what you want, then I'd just stop the deamon completely.
If you only want to prevent external access, you could firewall off port 3306, or, if their is a command that controls which IP address MySQL...