# MAMP Change Password

**URL:** <https://forum.kirupa.com/t/mamp-change-password/310383>\
**Category:** programming\
**Created:** [June 8, 2010, 11:18pm UTC](https://forum.kirupa.com/t/mamp-change-password/310383 "2010-06-08T23:18:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vxd](https://avatars.discourse-cdn.com/v4/letter/v/848f3c/32.png) [@vxd](https://forum.kirupa.com/u/vxd)\
**Post date:** [June 8, 2010, 11:18pm UTC](https://forum.kirupa.com/t/mamp-change-password/310383/1 "2010-06-08T23:18:28Z")

</div>

I’ve just installed MAMP and I’m trying to change the mysql password using terminal

MAMP is on,  
In Terminal, I type in  
/Applications/MAMP/Library/bin/mysqladmin -u root -p [FONT=verdana]NEWPASSWORD

and then OLDPASSWORD which is root

[/FONT]/Applications/MAMP/Library/bin/mysqladmin: connect to server at ‘localhost’ failed  
error: ‘Access denied for user ‘root’@‘localhost’ (using password: YES)’

MAMP 1.9

[LIST]  
[_] MySQL 5.1.44  
[_]PHP 5.2.13 & 5.3.2  
[\*] phpMyAdmin 3.2.5  
[/LIST]
