Monday, July 5, 2010

#1045 - Access denied for user 'root@localhost' (using password: YES)


When you installed XAMPP and tried to access MySQL via phpMyAdmin you would encounter something like this

#1045 - Access denied for user 'root@localhost' (using password: YES)

Connection for control user as defined in 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.


Navigate http://localhost/security/xamppsecurity.php and provide the 'root' password.

No comments:

Post a Comment