PDA

View Full Version : I cannot login on MySQL as root


eurosito
3rd October 2006, 07:05 AM
When I try to access MySQL on the server I get the following error: ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)
I need to lounch the following command from within mysql> GRANT ALL PRIVILEGES ON databasename.* to username IDENTIFIED BY 'password';
...how can I login to mysql, since I get the above mentioned error?
What should I tipe?

PS: I've solved it and now it's ok, as explained on: http://kb.swsoft.com/article_23_1252_en.html