1) Open terminal and type

sudo su

and then put in your password

2) Then type

ps aux | grep mysql

(just copy and paste this)

3) You will need to get the process id of mysql. There should be number near the top, something like 739 or 8827

4) Kill the process using

kill -9 {process id}

this should look something like this: kill -9 739

5) Restart MySQL in manager-osx

If those steps don’t work, you can try to run the following commands:

sudo killall mysqld

sudo chmod -Rf 777 /Applications/XAMPP/xamppfiles/var/mysql/

sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start