<div dir="ltr"><p class="gmail-p1"><span class="gmail-s1">Just got a successful install of MySQL 5.7.  </span></p><p class="gmail-p1"><span class="gmail-s1">A couple of notes:  Instead of entering </span></p><p class="gmail-p1"><span class="gmail-s1">     </span><span style="background-color:rgb(247,247,247);color:rgb(0,0,0);font-size:13px">sudo -u _mysql mysql_install_db</span></p><p class="gmail-p1"><span style="background-color:rgb(247,247,247);color:rgb(0,0,0);font-size:13px">as was the instruction for MySQL 5.6 and earlier  (</span><font color="#000000"><a href="https://trac.macports.org/wiki/howto/MySQL">https://trac.macports.org/wiki/howto/MySQL</a>), the instruction sequence is now:</font></p><p class="gmail-p1"><span class="gmail-s1">     sudo /opt/local/lib/mysql57/bin/mysqld --initialize --user=_mysql</span></p><p class="gmail-p1"><span class="gmail-s1">which creates the db and assigns a default root password (used to be set to blank), followed by </span></p><p class="gmail-p1"><span class="gmail-s1">   </span>sudo port select mysql mysql57</p><p class="gmail-p1">then</p>







<p class="gmail-p1"><span class="gmail-s1">    </span>/opt/local/lib/mysql57/bin/mysql_secure_installation</p><p class="gmail-p1"><br></p><p class="gmail-p1">It might also be helpful to include that when you run</p><p class="gmail-p1">     <span style="background-color:rgb(247,247,247);color:rgb(0,0,0);font-size:13px">ps -ax | grep mysql</span></p><p class="gmail-p1">you should expect to see something along the lines of:</p><p class="gmail-p1"><br></p><p class="gmail-p1"><span class="gmail-s1">      /opt/local/bin/daemondo --label=mysql57-server --start-cmd /opt/local/lib/mysql57/bin/mysqld --user=_mysql ; --pid=exec</span></p><p class="gmail-p1"><span class="gmail-s1">     /opt/local/lib/mysql57/bin/mysqld --user=_mysql</span></p><p class="gmail-p1">









</p><p class="gmail-p1"><span class="gmail-s1">     grep mysql</span></p><p class="gmail-p1">if it's running.  If the only response is </p><p class="gmail-p1">   grep mysql</p><p class="gmail-p1">then MySQL hasn't started.  </p>







</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 8, 2016 at 4:17 PM, Ryan Schmidt <span dir="ltr"><<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
> On Oct 8, 2016, at 14:56, Bill Christensen <<a href="mailto:billc_lists@greenbuilder.com">billc_lists@greenbuilder.com</a>> wrote:<br>
><br>
> That may explain the problems I was having when doing a dry-run install of MySQL 5.7.<br>
<br>
</span>mysql57 installed for me today, so maybe try it again?<br>
<br>
<br>
</blockquote></div><br></div>