If you use MAMP for your local web development with Apache running on port 80 you will find that it shows a password prompt every time you run it. It’s annoying to say the least.
Fortunately there is a way around this. I’ve put together a small app that runs Apache & MySQL from MAMP without asking for a password each time. It’s quite secure because it uses a stored password locked in the Keychain. It also quits Apache & MySQL when you quit the app itself.
Here is how to use it:
- Open the Keychain Access app and click ‘+’ to add a new item. Call the item ‘MAMP’ and enter the account name and password that you use to log in to your Mac.
- Download and launch the MAMP No Password app
Enjoy!
Release 1.1 updates (20th March 2013):
- Added a dock icon menu to restart Apache and MySQL.
- Changed the name of the app to MAMP No Password.
- Added compatibility with OS X 10.7 and newer (thanks @robwierzbowski and Steve @ Tech Otaku)