If you’re using the latest MAMP (1.7.2) …

icon_mamp If you’re using the latest MAMP (1.7.2) on your Mac for your development server, the easiest way to change the MySQL password would be /Applications/MAMP/Library/bin/mysqladmin -u root -p password YOURNEWPASSWORD.