I had the same problem as used instructions to change config.inc.php and it worked for me
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'your new pass';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
Thanks a lot.