I installed Xampp (for Windows). I was happily using it with its all features.
Then I wanted to change MySql password. I set a randomly generated password (rCZ4Xnz78
You need to edit the config.inc file in the phpMyAdmin directory (probably C:\xampp\phpMyAdmin) and change this line to match the password you entered for root in phpMyAdmin.
$cfg['Servers'][$i]['password'] = ' ';
If you have installed WAMP, go to the [wamp root]\apps[phpmyadmin installation] and find the file config.inc.php. Then you have the change the following entry to the new password of the root user.
$cfg['Servers'][$i]['password']
save the file and don't forget to restart WAMP services. Now it should work as a charm :)
Here is the solution for Windows machine:
When you changed the root passord to let's say admin
and now when you access http://localhost/phpmyadmin you see following screen
Open XAMPP_SETUP/phpMyAdmin/config.inc.php file
change config
to cookie
and add the password.
And again access the
http://localhost/phpmyadmin !!
You need to specify the actual password. Not encrypted password in config file