if you change the root password you will nee to edit the PHPMyAdmin configuration.
Go to the xampp / wamp directory then into the phpmyadmin directory open config.inc.php
find $cfg['Servers'][$i]['password'] = '';
add your password $cfg['Servers'][$i]['password'] = 'password';