Quit MySQL without it restarting on El Capitan

前端 未结 8 2558
广开言路
广开言路 2020-12-15 05:29

I\'m running OS X 10.11 El Capitan with its built-in server stack (Apache 2.4.16, MySQL 5.6.26).

I need to quit mysql, but killing the process immediately restarts i

8条回答
  •  死守一世寂寞
    2020-12-15 06:13

    On macOS Sierra, this worked for me

    Stop MySQL:

    launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
    

    Start MySQL:

    launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
    

提交回复
热议问题