MySQL Database won't start in XAMPP Manager-osx

The post will show to fix mysql problem on xampp. MySQL won’t start in my manager-osx application. It doesn’t throw me an in the application log. This is what it says:

Stopping all servers...
Stopping Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ : httpd stopped
Stopping ProFTPD...
Checking syntax of configuration file
/Applications/XAMPP/xamppfiles/proftpd/scripts/ : proftpd stopped
Restarting all servers...
Starting MySQL Database...


Follow me on Instagram


MySQL Database won’t start in XAMPP Manager-osx


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 any of the above don’t work, 

This should work:
sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start