Change Mamp MYSQL password?

I use the normal command line and i get this message...help 😟

error: 'Access denied for user 'root'@'localhost' (using password: YES)'

MacBook Pro, Mac OS X (10.7.4)

Posted on Jun 30, 2012 6:15 AM

Reply
2 replies

Jul 28, 2012 1:52 PM in response to qlicker1234

I was struggleing with this too, the error is as follows:


/Applications/MAMP/Library/bin/mysqladmin -u root -p password <NEWPASSWORD>


In the above I was replacing the password with my password, thats wrong, copy and paste the following into terminal exactly as is, change nothing:


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


now at the end, after the word "password" type your new password then press enter.


Now you will be prompted for the current password, type 'root' without the quotes.


You should be good to go!


My, and many others interpretation of the instructions within MAMP makes you think you replace 'password' with your current password, then replace <NEWPASSWORD> with the new one, wrong.


Hope this helps!!


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Change Mamp MYSQL password?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.