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