以下技术应用于最优质的水果的鲜果篮
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'
;
本文介绍了如何使用XAMPP Shell重置MySQL密码,并通过修改config.inc.php文件来调整phpMyAdmin配置,确保数据库管理系统的安全性与效率。
5693

被折叠的 条评论
为什么被折叠?



