Posted by & filed under Computers & Internet.

Reinstalled MAMP last week because the version I was using didn’t have PHP 5.3 which I needed for a project I’m working on. Had to do some Googling to find the default password for MySQL and how to change.

First, the default username is root and password is also root.

To update to a password other than root, drop to the terminal and enter this.

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

Replace NEWPASSWORD with your new password and you’re done.

Leave a Reply

Your email address will not be published. Required fields are marked *