MySQL Forums
Forum List  »  Install & Repo

Re: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Posted by: L K
Date: November 12, 2008 04:38AM

Hi Folks...

I am getting this error:

'Error Nr. 1045
Access denied for user 'root'@'localhost'(using password: YES)

The thing is I did have a password but I can't recall it and therefore I am stuck as I need the old password even if I want to change to a new one. At the very end of the error message I am being told that if I am re-installing after a previous install (which is precisely what I am doing) the data directory was not removed automatically and therefore the old password from the old installation is still needed. I am advised to re-run the Configuration wizard. However the problem remains even if I do that.

Is there anyway I can manually remove the 'data directory'? I hope some can advise me. Thanks guys!!

Options: ReplyQuote

Written By
June 27, 2009 08:29PM
December 16, 2007 02:18AM
December 27, 2007 02:08PM
January 16, 2011 06:51AM
Re: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
November 12, 2008 04:38AM
August 27, 2009 12:22AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.