In the \xampp\mysql\bin directory enter into the console:
mysqladmin -u root password secret
Ok, “secret” should be your secret password. Then update the password for PHPMyAdmin. Open the “config.inc.php” in \xampp\phpmyadmin an edit following lines:
INSTEAD OF …
$cfg['Servers'][$i]['user'] = ‘root’;
$cfg['Servers'][$i]['password'] = ”;
NOW …
$cfg['Servers'][$i]['user'] = ‘root’;
$cfg['Servers'][$i]['password'] = ’secret’;

console





