MySQL port 3306 open to local, closed to other?

Jeremy Lavergne jeremy at
Sat Jan 4 19:10:26 PST 2014

Instead of skip-networking the default is now to listen only on localhost which is more compatible and is not less secure.
bind-address        =

Running `port contents …` will list all the files of a given package, including any default config files.

On Jan 4, 2014, at 22:07, Bill Christensen <billc_lists at> wrote:

> I'm sure it's in there *somewhere*, but I haven't been able to find the mysql my.conf or whatever the equivalent is in the MacPorts version.
> I need to close off port 3306 to outside traffic (but leave it open to localhost) to satisfy the credit card PCI security guys, and I'm told putting
> skip-networking
> in the config file will do just that.  Where exactly would that mysql config file be?  Does it matter where in the order I add skip-networking?

More information about the macports-users mailing list