Changing root password in phpMyAdmin on MAMP
To change the root password on MAMP for phpMyAdmin, run this command in terminal: (replace newpass with the new password you want. For password, leave it as password, do not use your current password, you will be prompted for that when you hit enter. keep newpass in single quotes) /Applications/MAMP/Library/bin/mysqladmin -u root -p password ’newpass’ Now you should be prompted for your current password. Enter your current password and the change should take effect. Make sure to edit the phpMyAdmin config file (Library/Application Support/living-e/MAMP PRO/phpMyAdmin/config.inc.php) and edit the $cfg['Servers'][$i]['password'] to be the new password.
September 28 2009, 10:16am | Original Link »

