Running MAMP on standard ports (80 for Apache and 3306 for mySQL) makes MAMP ask for a password on each start up. I would like MAMP to start automatically when I log in, without requiring a password. There are a few ways to do this posted around the web, but they all involve hacking MAMP in one way or another. There is an alternative. Create the following AppleScript in AppleScript Editor:
do shell script "/Applications/MAMP/bin/startApache.sh &" password "YOURPASSWORD" user name "YOURUSERNAME" with administrator privileges do shell script "/Applications/MAMP/bin/startmySQL.sh > /dev/null 2>&1"
Mac OS X Hints
http://hints.macworld.com/article.php?story=20100421070605258