Quick fix for when MAMP won’t start MySQL server
Filed in Tutorials & Resources
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.
- Quit MAMP
- Open terminal from “utilities” and enter the following command:
1killall -9 mysqld
- Restart MAMP
That’s all there is to it, happy coding :-).
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.