1、使用重置脚本

wget http://soft.vpser.net/lnmp/ext/reset_mysql_root_password.sh;sh reset_mysql_root_password.sh

2、保存配置文件后

重启MySQL服务 service mysqld restart

相关文章:

  • 2021-11-07
  • 2021-11-21
  • 2022-12-23
  • 2021-05-23
  • 2021-09-27
  • 2021-10-24
  • 2021-07-10
  • 2021-09-09
猜你喜欢
  • 2022-01-28
  • 2022-12-23
  • 2021-05-31
  • 2021-11-21
  • 2021-12-02
  • 2021-11-11
相关资源
相似解决方案