Tip: Automatically launch MAMP on startup

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.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.