Quit MySQL without it restarting on El Capitan

前端 未结 8 2547
广开言路
广开言路 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:23

    If you used homebrew to install mysql, mysqld will keep on restarting unless you use following brew command:

    brew services list
    

    Get the name of service to stop and then run the following command:

    brew services stop mysql@5.5
    
    0 讨论(0)
  • 2020-12-15 06:25

    On OS X El Capitan, this worked for me:

    sudo launchctl unload -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
    
    0 讨论(0)
提交回复
热议问题