The use of MAMP is practically essential for all of us who work in web design and programming, since it allows us a very simple management of Apache and MySQL servers. using a graphical interface, but it has a downside that bothers everyone: you have to enter the password when we auto-start it at startup, something that can be annoying.
To avoid this we have to create an AppleScript with these lines, to later add it to the programs that start with the Mac:
do shell script "/Applications/MAMP/bin/startApache.sh &" password "YOUR PASSWORD" user name "YOURUSER" with administrator privileges do shell script "/Applications/MAMP/bin/startmySQL.sh> / dev / null 2> & 1 "
Easy and simple, like everything that comes to us from Mac OS X Hints.