Is this what you are looking to do:
MySQL accepts only local connections
The mysql database daemon is configured by default to accept only local connections
(i.e. it is not accessible via the network). This is a security precaution.
We only use mysql for webmail preferences, and only require access from localhost.
If you wish to enable local network access, you can do so via
/sbin/esmith/config setprop mysqld LocalNetworkingOnly no
/sbin/esmith/expandtemplate /etc/my.cnf
/etc/rc.d/init.d/mysqld restart
I think the above is a typo, it should read something like if you wish to enable public access.. Here is the link I got this from.
http://no.longer.valid/phpwiki/index.php/SME%20Server%20Announce%20v6.0JB