Get In Touch
541 Melville Ave, Palo Alto, CA 94301,
ask@ohio.clbthemes.com
Ph: +1.831.705.5448
Work Inquiries
work@ohio.clbthemes.com
Ph: +1.831.306.6725
Back

[solved] Mac OS X – XAMPP – MySql server is not starting

After successfully running XAMPP on my Mac OS X I have upgraded my system to Yosemite my MySql server stopped starting through my  XAMPP manager.

Screen Shot 2015-05-18 at 2.12.54 pm

After clicking restart all or just Start for MySql database its just going into ‘starting’ and then goes back to ‘stopped’.

Screen Shot 2015-05-18 at 2.14.30 pm

Browsing through the internet I’ve stumbled upon the solution that worked for me.
http://stackoverflow.com/questions/21267064/mysql-database-wont-start-in-xampp-manager-osx

Open the terminal and type as per code below (double check path to your ‘XAMPP/xamppfiles/bin/’ folder:

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

Hope that helps!

xamp-mysql-resolved

 

 

daplo
daplo

3 comments

  • Same problem – am running El capitan — was working fine — but suddenly stopped. On Rebooting, Mysql server will not start — using command via terminal — shows ERROR !

    1. Most likely you have turned off your computer when XAMPP was running and one of your databases got corrupted. You can search through the log which should be in: /Applications/XAMPP/xamppfiles/var/mysql/Daniels-iMac.local.err where Daniel-iMac will be your user / computer name. You can delete this file and Daniels-iMac.local.pid and try to start server directly from the XAMPP control panel. Should work 🙂

Leave a Reply

We use cookies to give you the best experience. Cookie Policy