MySQL Server Won’t Start with MAMP
Fixing MySQL Server When It Won’t Start with MAMP
For those of you that have installed and use MAMP for development. Sooner or later you are bound to run into an error with MySQL Server.
One day you’ll start up MAMP and the light next to MySQL Server will not turn green, signifying it is ready and online. You’re probably wondering “what is going on?”
Maybe you tried to restart MAMP, but to avail. This is usually due to the fact that there are conflicting instances of a process called “mysqld”. Fortunately there is an easy fix.
1. Open up the application “Activity Monitor”. It can be found in Applications->Utilities
2. Find the process called “mysqld” listed in the running processes.
3. Click on it once to highlight and then click the red stop sign in the upper left hand corner called “Kill Process”.
1. Open up a terminal
2. type “sudo killall -9 mysqld” (without the quotes)
That’s it. Now restart MAMP and everything should be good!!!!