I'm using SequelPro (http://www.sequelpro.com/) and I would like to know how to reset my root password. I'm trying to log in as

host: localhost
username: root
password: (BLANK)

But I keep getting this error:

Unable to connect to host because access was denied.
Double-check your username and password and ensure that access from your current location is permitted.
MySQL said: Access denied for user 'root'@'localhost' (using password: NO)

Any suggestions?!

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

Depending on what you're using to run MySQL, you could take a look at the official instructions.

If you're using MAMP or something similar you need to find where mysqladmin is located.

/Applications/MAMP/Library/bin/mysqladmin -u root -p password ’somepassword’
link|improve this answer
Thanks! I was using the program MySQL. I started using MAMP thanks to your suggestion, and now it all works. Thanks again! – classicrock985 Mar 25 '10 at 14:37
Just an FWI you can accept this as the answer by clicking the check mark under the vote indicators. Glad it helped. – Josh K Mar 25 '10 at 15:26
This post saved my butt. Thanks!! – classicrock985 May 1 '10 at 3:44
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.