I was trying desperately to uninstall MySQL on my new MacBook Pro. I received a few weird messages that the ‘mysql.sock’ was running and I didn’t know how to shut it down. Finally after searching through many, many blogs I found the solution.
I needed to view the list of processes, get the process id and then kill the process. Here’s how you do it.
To see a list of processes type below in the Terminal:
To end the processes type below in the Terminal:
kill process_id process_id
kill 2345 2455