I am running a CentOS in my Vagrant box and via SSH terminal have run the following command to restart the MySQL service
sudo service mysql restart
The message Shutting down MySQL appears but it never actually completes shutting it down.
If I try running the sudo service mysql start it does the same thing and doesn't complete the process.. any ideas
-- UPDATE --
I have run the command ps aux | grep mysql to find all the MySQL processes and can see i've got a number of processes - I've killed a number of these but a few dont seem to want to be killed? I have used the force kill option e.g sudo kill -9 id and still no joy...
It would appear this is due to zombie processes... can anyone suggest how to destroy this
killall -v -s TERM mysqld?