Skip to content

How to change the MySQL password in MAMP

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.

Published inComputers & Internet

Be First to Comment

Leave a Reply

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