MacBook Pro slow shutdown (macOS Sierra)

Just a quick tech note.

If you have macOS Sierra and you’re a coding/geeky/programming type and your OS is taking a huge amount of time to shut down, update your MySQL to 5.7 (I had to reinstall Homebrew to do that). If you’re not, maybe tweak your ExitTimeOuts (or get your pet geek to do it for you).

For non-geek types and/or their pet geeks, two (no three!) things:

  1. To tweak your ExitTimeOut default settings, you first need to disable SIP.
    (NOTE: After you do this, try to focus only on doing the thing, and enable SIP as soon after as possible – don’t run the system for a long time with SIP disabled, and don’t browse unnecessary web sites, etc./don’t get distracted)
  2. After SIP is disabled, run these commands.
  3. Don’t forget to reenable SIP afterwards (link in step 1, above).

For the geeks with an older MySQL, I’ll leave it to you to figure out how best to update. For me, I used Homebrew, which broke it, initially. I had to:

  1. Attempt:
    brew upgrade mysql
  2. Have that get to openssl (a dependency) and break Homebrew (which refused to do any command citing a ruby error refusing to load dependencies)
  3. Reinstall Homebrew with:
    ruby -e "$(curl -fsSL"
  4. Run:
    brew update (to make sure Homebrew was up to date and working properly)
  5. Run:
    brew upgrade mysql (to try the update of MySQL again, which was finally successful)

Good luck! These are just things that worked for me, and if they don’t work for you, I apologize. If I have time, I’ll try to help figure it out for you, but no guarantees of either time to help, inclination, or ultimate success!

, , , , ,