MySQL Forums
Forum List  »  Newbie

Re: ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'name'
Posted by: barrett
Date: February 18, 2006 07:46AM

It's the space in your -u statement. You're being logged in as an anonymous user instead of root.

I think the statement should be:
mysql -uroot -p
or
mysql --user=root -p

Options: ReplyQuote


Subject
Written By
Posted
Re: ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'name'
February 18, 2006 07:46AM


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.