Reputation: 938
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.
Even after uninstalling wamp and then reinstalling it's showing the same error.
Upvotes: 1
Views: 2292
Reputation: 12422
You can try connecting via the command-line interface using the username and password you expect; if that doesn't work then I presume you'll need to reset your password.
The MySQL manual has detailed instructions for resetting a lost root password.
Generically, those instructions are:
--skip-grant-tables
optionmysql
(or the Start Menu program that corresponds to the command line client).FLUSH PRIVILEGES
to load the privilege tableSET PASSWORD FOR 'root'@'localhost' = PASSWORD('MyNewPass');
adjusting the username, host, and password as needed.Upvotes: 1