MySQL Server Not Starting on MAMP for Mac

no alt text set

So if you’re like me, you do a lot of WordPress development locally and experience annoying issues. I use MAMP, personally, as do many others. One of these common headaches is the MySQL server not starting on MAMP for Mac; inexplicably stopping and whatever you try, it won’t start again. Here’s a fix that has worked all the time for me:

  1. Quit MAMP.
  2. In the Finder (or Terminal) go to Applications/MAMP/db/mysql56/ and delete the last log file (e.g. ib_logfile1). Sometimes you’ll have to also delete ib_logfile0
  3. Restart MAMP.

Boom. You should now be able to use your MySQL databases again.

Cheers.

If you found this post useful ...

Wondering why you keep seeing lowercased 'i' in my posts? Read -> Why ‘i’ is not capitalized
Namecheap Referral Banner

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of