<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="">&gt; On Jul 25, 2016, at 12:04 AM, Bill Christensen &lt;<a href="mailto:billc_lists@greenbuilder.com">billc_lists@greenbuilder.com</a>&gt; wrote:<br></span><span class=""><br>
&gt;<br>
&gt; When I load MySQL and try to connect I get<br>
&gt;<br>
&gt;      Can&#39;t connect to local MySQL server through socket &#39;/opt/local/var/run/mysql57/mysqld.sock&#39; (2)<br></span></blockquote><div><br></div><div>On Mon, Jul 25, 2016 at 4:57 PM, Bradley Giesbrecht <span dir="ltr">&lt;<a href="mailto:pixilla@macports.org" target="_blank">pixilla@macports.org</a>&gt;</span> wrote: </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="">
<br>
</span>If the mysql.sock file does not exist and mysql57 is running </blockquote><div><br></div><div>Just to be clear:  I run </div><div><span style="color:rgb(0,0,0);font-size:13px;background-color:rgb(247,247,247)"><br></span></div><div><span style="color:rgb(0,0,0);font-size:13px;background-color:rgb(247,247,247)">     ps -ax | grep mysql</span></div><div><span style="color:rgb(0,0,0);font-size:13px;background-color:rgb(247,247,247)"><br></span></div><div><span style="color:rgb(0,0,0);font-size:13px;background-color:rgb(247,247,247)">and get only </span></div><div><span style="color:rgb(0,0,0);font-size:13px;background-color:rgb(247,247,247)"><br></span></div><div>







<p class=""><span class="">     751 ttys016    0:00.01 grep mysql</span></p><p class=""><span class="">which appears to me to indicate that mysql is NOT running.  Correct?   </span></p></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">then there is likely a my.cnf options file in one of the paths that mysql searches.<br>
<br>
<a href="http://dev.mysql.com/doc/refman/5.7/en/option-files.html" rel="noreferrer" target="_blank">http://dev.mysql.com/doc/refman/5.7/en/option-files.html</a><br>
<br>
Rename or delete the options file if found.<br></blockquote><div><br></div><div>Checked those, renamed.  still no joy. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
<br>
—<br>
Brad</blockquote></div><br></div></div>