MAMP sets up an Apache, MySQL, PHP stack on your desktop.
For multiple sites I use the Hosts feature in MAMP Pro.
So I created a “Drupal7″ and “WordPress3″ Host pointing to “/code/drupal7″ and “/code/wordpress3″
Moved the downloaded files to there respective locations “/code/drupal7″ and “/code/wordpress3″
Modified the Permissions for each site:
Created the databases:
Server >> MySQL >> Launch phpMyAdmin
Create new Database – “drupal7″ and “wordpress3″
Then created users for those databases
drupal7 >> Privileges >> Add a new User
with all ‘Grant all privileges on database “drupal7″‘ selected
wordpress3 >> Privileges >> Add a new User
with all ‘Grant all privileges on database “wordpress3″‘ selected
Once all this is done go to the browser and point it to your sites and run configurations.