MySQL said: Documentation #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)

I installed xampp,but when I tried to run it I got an error as thus:

Error

MySQL said: Documentation

1045 – Access denied for user ‘root’@’localhost’ (using password: NO)

Connection for controluser as defined in your configuration failed. phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

I tried to search on internet for a solution, but I still can’t fix my problem. I have already checked whether I used a password or not in config.inc.php file but i have not used any password.Also, when i try to access with a password, I still can’t solve this problem.

I hope anyone can help me. .thank you

Leave a Comment