Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop password prompt on MAMP startup

I develop using MAMP pro on my Mac. When I start MAMP it prompts me for a password if I use port 80. If I use a higher port it doesn't prompt me, but I have to append the port number in the URL ( eg dev.local:8888 ). Does anyone know how to make it not prompt for password when using standard ports? Thank you.

like image 454
Chris J Allen Avatar asked Oct 16 '08 08:10

Chris J Allen


2 Answers

I've put together an app that allows you to start/stop MAMP's Apache and MySQL without the password request, even on port 80. It stores the password in Keychain, so you only need to enter it once. It has a nice icon too!

Download: http://www.46palermo.com/blog/run-mamp-without-password-easy-way/

like image 178
Damian Avatar answered Nov 10 '22 14:11

Damian


According to a living-e rep they are considering adding an option to store the password in the keychain:

http://forum.webedition.de/phpBB/viewtopic.php?f=4&t=5517&p=12019

Update: I pestered Living-e support and got them to add it as a feature request to their bug tracker. The link is here: http://qa.living-e.de/tracker/view.php?id=3648 (requires registration) if you want to follow it.

Another update: Still following this issue. Looks like living-e moved their bug tracker, the new link to this issue is:

http://bugs.mamp.info/view.php?id=3652

It's in German but the Google translation is:

When will start and stop the server in each case the admin password is required if port is used as low-1024th If we could get the password from the OS X Keychain / keyring, allowed themselves to avoid annoying popup ads.

Or a German speaker's translation is:

When the Server starts/stops it will ask for the admin password each time. If it could get the password from OS X Keychain / Keyring, the annoying popup could be avoided.

like image 7
GloryFish Avatar answered Nov 10 '22 15:11

GloryFish