MySQL Forums
Forum List  »  Install & Repo

Re: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Posted by: Chris Sorensen
Date: October 24, 2007 02:35PM

I had the same problem on SuSE Linux 10.3 using "Server version: 5.0.45 SUSE MySQL RPM".
After following directions for creating a root password, mysql -u root always
gave the access denied error above. After many hours of trying, it turns out
that mysql only prompts for a password if the -p flag is specified, otherwise
it gives the access denied message and fails inspite of the documentation showing
it used without. Very, very frustrating.



Edited 2 time(s). Last edit at 10/24/2007 02:39PM by Chris Sorensen.

Options: ReplyQuote


Subject
Written By
Posted
June 27, 2009 08:29PM
Re: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
October 24, 2007 02:35PM
December 16, 2007 02:18AM
December 27, 2007 02:08PM
January 16, 2011 06:51AM
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.