MAMP folder settings
just to venture a guess, did you change the default folder path for MAMP?
I had pointed mine into the /usr/... folder (and changed the port #'s to standard) and had the same error. setting the folder path back to the MAMP default solved my problem (left the ports at 80 and 3306, tho).
hope that solves your issue.
- trent