52php

点击顶部的“SQL”标签进入sql命令输入界面。输入以下命令:

update mysql.user set password=PASSWORD(\'snsgou$123456\') where user=\'root\';

注意了,如果你修改了root密码之后我们的phpMyAdmin的配置文件中的密码也需要修改,否则登录不上去哦。

找到 

$cfg[\'Servers\'][$i][\'password\'] = \'\';

修改为

$cfg[\'Servers\'][$i][\'password\'] = \'snsgou$123456\';

 

重启MySQL服务后新密码生效!

分类:

技术点:

相关文章:

  • 2021-12-04
  • 2021-12-05
  • 2021-08-27
  • 2022-12-23
  • 2022-01-11
  • 2021-12-16
猜你喜欢
  • 2021-12-04
  • 2021-11-22
  • 2021-12-22
  • 2022-01-27
  • 2021-12-12
  • 2021-12-04
相关资源
相似解决方案