Unable to stop MySQL on OS X 10.10

前端 未结 9 1513
忘掉有多难
忘掉有多难 2021-02-01 09:23

I\'m starting to go nuts over this. I setup MySQL/Apache/PHP using the tutorial by Coolest Guides On The Planet. I\'m guessing something went wrong as its not working as expec

相关标签:
9条回答
  • 2021-02-01 09:45

    If you used brew then you can find out which version you are using by:

    launchctl list|grep mysql
    

    this will print something like

    92555   0   homebrew.mxcl.mysql@5.7
    
    

    In my case I'm using mysql@5.7

    You can stop using:

    brew services stop mysql@5.7
    
    0 讨论(0)
  • 2021-02-01 09:50

    Finally got around the autostart - Thanks to all who contributed and allowed me to see the way.

    To stop the auto start I used:

    sudo launchctl unload -w /Library/LaunchDaemons/com.mysql.mysql.plist
    

    And to kill the service I used:

    sudo pkill mysqld
    
    0 讨论(0)
  • 2021-02-01 09:52

    brew services stop mysql@5.6 worked for me, when all else failed.

    0 讨论(0)
提交回复
热议问题