Recommended upgrade order

Bill Christensen billc_lists at greenbuilder.com
Sun Oct 9 04:49:40 CEST 2016


Done.

On 10/8/16 8:35 PM, Ryan Schmidt wrote:
>> On Oct 8, 2016, at 5:44 PM, Bill Christensen <billc_lists at greenbuilder.com> wrote:
>>
>> Just got a successful install of MySQL 5.7.
>>
>> A couple of notes:  Instead of entering
>>
>>       sudo -u _mysql mysql_install_db
>>
>> as was the instruction for MySQL 5.6 and earlier  (https://trac.macports.org/wiki/howto/MySQL), the instruction sequence is now:
>>
>>       sudo /opt/local/lib/mysql57/bin/mysqld --initialize --user=_mysql
>>
>> which creates the db and assigns a default root password (used to be set to blank), followed by
>>
>>     sudo port select mysql mysql57
>>
>> then
>>
>>      /opt/local/lib/mysql57/bin/mysql_secure_installation
>>
>>
>>
>> It might also be helpful to include that when you run
>>
>>       ps -ax | grep mysql
>>
>> you should expect to see something along the lines of:
>>
>>
>>
>>        /opt/local/bin/daemondo --label=mysql57-server --start-cmd /opt/local/lib/mysql57/bin/mysqld --user=_mysql ; --pid=exec
>>
>>       /opt/local/lib/mysql57/bin/mysqld --user=_mysql
>>
>>
>>       grep mysql
>>
>> if it's running.  If the only response is
>>
>>     grep mysql
>>
>> then MySQL hasn't started.
> If you have improvements to make to the instructions in the wiki, please do so.
>
>


-- 
Bill Christensen
http://SustainableSources.com
http://LinkedIn.com/in/billc108




More information about the macports-users mailing list