以下技术应用于最优质的水果的鲜果篮
With the “XAMPP Shell” (command prompt) you can also reset the password. Open the shell and execute this command
mysqladmin.exe -u root password newpassword
Of course, your password should not be “newpassword”, too. In the next step you must adjust the phpMyAdmin configuration for this new password. In the file “D:\xampp\phpMyAdmin\config.inc.php” change the lines:
$cfg [ 'Servers' ][ $i ][ 'user' ] = 'root' ; |
$cfg [ 'Servers' ][ $i ][ 'password' ] = '' ; |
To:
$cfg [ 'Servers' ][ $i ][ 'user' ] = 'root' ; |
$cfg
[
'Servers'
][
$i
][
'password'
] =
'newpassword'
;