Skip to content

Instantly share code, notes, and snippets.

@chrismullins
Created May 15, 2018 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrismullins/d4b86c0a39bca595b8f3533e5bab98d6 to your computer and use it in GitHub Desktop.
Save chrismullins/d4b86c0a39bca595b8f3533e5bab98d6 to your computer and use it in GitHub Desktop.
Stop mysqld on Mac OSX Sierra 10.12.6
# You can do `sudo lsof -i tcp:3306` and kill -9 {PID} all day
# but mysql will just restart itself. So launchd is involved right?
# Well it is, but `launchctl list | grep mysql` doesn't show anything!
# Kill it like this:
sudo launchctl unload -w /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment