MySQL Forums
Forum List  »  Install & Repo

ERROR 1045: Access denied for user: '@localhost' (Using password: NO)
Posted by: Francesca Vizzi
Date: December 21, 2005 09:01PM

Hi :)

I've installed the release 4.0.21 of MySQL and every operation I want to make (create a new database or allow all privileges through the prompt with the command:
mysql> grant usage on * to root@localhost;), the error is always the same:

1. ERROR 1044 at line 1: Access denied for user: '@localhost' to database 'newdatabase' (where newdatabase is the name of the database I try to create and use)

or

2. ERROR 1045: Access denied for user: '@localhost' (Using password: NO)

I checked many forums, and documentation, but I'd like to find a solution ASAP!!!

Thanks :)
Francesca

Options: ReplyQuote




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.