once you connect to phpmyadmin go to SQL tab and execute :
1
UPDATE mysql.user SET Password=PASSWORD('password') WHERE User='root'; FLUSH PRIVILEGES;
stop mysql from xampp control panel
goto /xampp/phpmyadmin/config.inc.php set the password :
1
2
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'password';
https://www.pipiscrew.com/2018/04/mysql-v5-7-21x86-bone-edition/
origin - http://www.pipiscrew.com/?p=5957 xampp-set-root-password