Unable to stop MySQL on OS X 10.10

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

For Mac Users kill -9 {pid} kept restarting the process. This was because I had MySQL Server running. On OSX I had to:

1- System Preferences.

2- Search for mysql.

3- Press the Stop MySQL Server button.

got it from a github issue, and it solved my problem

https://github.com/docker/compose/issues/4950#issuecomment-407145733


brew services stop [email protected] worked for me, when all else failed.


This is what worked for me. It was listed under a different plist name:

sudo launchctl unload -w com.oracle.oss.mysql.mysqld.plist