s Quick fix for when MAMP won't start MySQL server - Boshanka

Quick fix for when MAMP won’t start MySQL server

Quick fix for when MAMP won’t start MySQL server

I often use MAMP for local PHP/ WordPress development on Mac OS X. It usually works really well and offers a streamlined way for me to develop locally.

Occasionally the server errors out when restarting after quitting out of the application a few times, giving me an “Error: Could not connect to MySQL server!” notice.

Here’s a really simple fix that will get you up and running once again.

  1. Quit MAMP
  2. Open terminal from “utilities” and enter the following command: 
    1
    killall -9 mysqld
  3. Restart MAMP

That’s all there is to it, happy coding :-).

Leave a Reply

Enjoyed this article?

If you enjoyed this article please rate & share.

You Might Also Like