Opening up the MAMP application, not the dashboard widget, and switching from PHP 4 to PHP 5 in the options solved my problems.
I’m having the same problem with my Yahoo-hosted site, since about 10pm CST last night.
I called Yahoo tech support this morning, and the guy told me they only suppory mySQL through email, and to send a message to wh-php@yahoo-inc.com. I did that about three hours ago, and still no response or resolution.
This is pretty terrible — I switched from Typepad last week because of their inability to keep sites up, now I get this.