查看mysql安装的路径

mysql(5.5)安装后忘记密码

然后我们更改root用户的密码,

查看默认密码先

mysql(5.5)安装后忘记密码

然后直接登录

mysql(5.5)安装后忘记密码

 

然后更换root密码:

格式:mysql> set password for 用户名@localhost = password('新密码');  

 

例子:mysql> set password for root@localhost = password('123');  

相关文章:

  • 2021-09-27
  • 2021-07-30
  • 2022-03-02
  • 2021-12-25
  • 2021-09-12
  • 2021-12-27
  • 2021-12-27
  • 2021-06-10
猜你喜欢
  • 2022-12-23
  • 2021-08-25
  • 2021-12-31
  • 2021-10-20
  • 2021-11-22
  • 2022-01-05
  • 2022-12-23
相关资源
相似解决方案