Can Openfire connect to MySQL via a socket rather than TCP/IP?

I added the skip-networking option to my MySQL config in an effort to remove unnecessary ports from my Internet facing server. I didn’t realize until the next morning that openfired process froze up. I’m running the tar.gz package of openfired on a RHEL 5 server and the configs are pretty much standard. Is there a way to configure openfired so it will use MySQL through a local socket connection rather than TCP/IP? If not, anyone know how (or where I can find out how) to restrict MySQL to accept connections on that port (3306) from only 127.0.0.1?

Thank you.

You can modify your my.cf to reflect the following to have it only acctept connections on the loopback.

bind-address = 127.0.0.1