Quick fix for when MAMP won’t start MySQL server

Bish
Bash
Boshanka
Let's get it done!

0 Shares

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 :-).

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Phew.
You've made it this far.

I am good at managing my schedule, so I can usually get projects booked in without much lead time. Let’s get our heads together and get your project done.

Get a Quote
Bish
Bash
Boshanka
Let's get it done!

Based in London, Working Everywhere

I’m a Freelance Web Designer and WordPress developer, I’m based in London but work with client’s in the UK and all over the world.

Creative Web Design & WordPress Development Services

Contact Me