Search code examples
mysqlosx-yosemite

Unable to stop MySQL on OS X 10.10


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 expected so I want to uninstall and try again.

The trouble is that I can't stop MySQL either by system preferences or command line. I keep trying suggestions on the net but so far unsuccessful. Can anyone help?


Solution

  • 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