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.
- 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 :-).
Enjoyed this article?
If you enjoyed this article please rate & share.