1) Locate your wamp folder in your computer : Search in C drive for a folder named Wamp if you are using wamp server or Xammp etc.(Default location is in C Drive : C/Wamp)
2) Then locate config.inc.php file : Inside Wamp folder , go to a folder named Apps , then go to Phpmyadmin folder.
There you will find a File with name config.inc.php.
Path is : WAMP > APPS > PHPMYADMIN > config.inc.php)
3) Then Open config.inc.php file in notepad or notepad++.
Once you found config.inc.php open it in Notepad or Notepad++ to open :
1) Right click on config.inc.php
2) Open in Notepad++ .
4) Find the Row of PASSWORD
5) That value must be blank, Fill your password of mysql there. :
Once you found that particular row with empty password , fill that empty space with your mysql password which is by default : – ‘root’
6) Now save the file and close it.
7) Now Open Your PhpMyAdmin page and access it, error must be gone.