Error:
I've tried the solutions in the other question yet I can't seem to make it work, the error is still stuck and i cant access localhost/phpmyadmin, can someone please help me.
Fix Access denied for user 'root'@'localhost' for phpMyAdmin
$cfg['Servers'][$i]['password'] = ' ';
/ **************/
Locate config.inc.php file under C:\xampp\phpMyAdmin and open it in any editor.
Find the following line:
$cfg['Servers'][$i]['password'] = ' ';
Enter the chosen password inside the quotes. Also, in order to make
localhost/phpmyadmin ask for a username and password, find the following line:
$cfg['Servers'][$i]['auth_type'] = 'config';
Change the above line to:
$cfg['Servers'][$i]['auth_type'] = 'cookie';
and so forth.