Fix for MAMP when MySQL is not starting
I’m currently using MAMP for local PHP development on OS X. It works ok, except for a tendency to bug out when starting up again after first quitting the application once. So if you get the “Error: Could not connect to MySQL server!” notice, here’s a fix: