Change mysql root password in MAMP

Version: MAMP 2.1.1 (2.1.1)

Prerequisites: Servers are running.

To change the database root password, open the terminal and perform the following command:

/Applications/MAMP/Library/bin/mysqladmin -u root -p password

Enter the old password (root for a new install) and then the new one twice.

Then modify following files to configure the new root password there:


If you really don't want any warning you can also modify: