Change the password of phpMyAdmin in WAMP server

Welcome to phpMyAdmin


Error

MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
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.
 
 
 
Solution 
 
Go to 
 
C:\wamp\apps\phpmyadmin3.5.1
 
 
Edit config.inc with a text editor like notepad.  
 
Add the password in between '' in the password line like as below.  
 
$cfg['Servers'][$i]['password'] = '';
 
 
Save the changes. 
 
Restart the server.  Refresh the page http://localhost/phpmyadmin/  You will be able to go to access the phpMyAdmin page.