Changing the MySQL password in MAMP – Lucid Nerd Tutorial


In this Lucid Nerd beginner tutorial, I will cover how to change MAMP’s default MySQL password from root to a password of your choice in Mac OSX.




Lucid Nerd Channel Page:

Lucid Nerd Blog:

Follow on Twitter:

Facebook Page:

Google+ Page:
Add us to your circles.

Lucid Nerd on iTunes:

Lucid Nerd Channel Description:
The Lucid Nerd is a channel offering beginner computer tutorials covering everything form computer basics to web development and computer programming.


MAMP homepage:

Apache homepage:

MySQL homepage:

PHP homepage:


Specific Tags:
Changing MySQL password MAMP “Lucid Nerd” Tutorial

General Tags:
“Computer Tutorials” “Computer How To’s” “Beginner Computer Tutorials” Computer Tutorials Beginner “Web Development” “Computer Programming” “Windows 7” “Mac OSX” Educational Help



  1. This was great – thank you LucidNerd. For recent versions of MAMP, I also needed to change my password in the file in my bin folder.

  2. I found the error and made the change but to edit the "index.php" file. it is not equal to your video. there is no such command line.

  3. I copy bash: /Aplications/MAMP/Library/bin/mysqladmin: No such file or directory in the terminal and send me this…-bash: /Aplications/MAMP/Library/bin/mysqladmin: No such file or directory
    help me please

  4. Please help. I can't make changes to the index.php file – mine looks different, and now i'm all screwed up and can't get into anything

  5. I almost never bother signing in to like a video. But this time it was worth it.

    I don't know why it's so hard to find the correct way to do this, but thanks to you, it (finally) worked. Thanks!

  6. hey i followed all the steps. it all worked fine, but at the end when I am checking if phpmyadmin page it says
    MySQL said:

    #1045 – Access denied for user 'root'@'localhost' (using password: YES)

  7. This video is super helpful! Spent a good hour trying to figure out how to access MAMP after messing up a pasword change. This video helped me fix it in 2 minutes.

  8. @10029759 I have a few questions to help me figure out what you are trying do. 1. Why do you want to connect to a live database? If you are just learnig it will be easier to export the data from the live database and import it into the development database while you learn. 2. Can you write PHP code? If so you can configure the connection by writing some PHP see example at the web address "helpDOTgodaddyDOTcomFORWARDSLASHarticleFORWADSLASH3351" replace the DOT's with . and FORWARDSLASH's with /

  9. Many thanks, I'm very new to this database stuff. Can you recommend a free mysql client that i would be able to connect to a database live to, one that is more easily than MAMP??

    Would appreciate any help



Please enter your comment!
Please enter your name here