<div dir="ltr"><div><div>Nothing in /opt/local/etc/mysql5<br><br></div>I found:<br>/opt/local/lib/mysql5/bin/mysql_config<br>/opt/local/bin/mysql_config5 <br><br>both of which contain <br><br>if [ 0 -eq 0 ]; then<br> port=0<br>
else<br> port=3306<br>fi<br><br>and <br>/opt/local/include/mysql5/mysql/my_config.h <br></div><div>which consists of a whole bunch of commented-out stuff, and that's it.<br><br></div><div><br></div>Since it's apparently an 'optional' file, if I just created a file at /opt/local/etc/mysql5/my.cnf which contains "bind-address = 127.0.0.1", would that do the trick?<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jan 4, 2014 at 9:12 PM, Jeremy Lavergne <span dir="ltr"><<a href="mailto:jeremy@lavergne.gotdns.org" target="_blank">jeremy@lavergne.gotdns.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The default is likely in /opt/local/etc/<br>
<br>
You could run find in that directory for any “*.cnf” files.<br>
find /opt/local/etc -type f -name “*.cnf"<br>
<div class="HOEnZb"><div class="h5"><br>
On Jan 4, 2014, at 22:10, Jeremy Lavergne <<a href="mailto:jeremy@lavergne.gotdns.org">jeremy@lavergne.gotdns.org</a>> wrote:<br>
<br>
> Running `port contents …` will list all the files of a given package, including any default config files.<br>
<br>
</div></div></blockquote></div><br></div>