如何删除 MySQL 根密码 [关闭] - How to remove MySQL root password [closed]

10/14 05:15
阅读数 0

问题:

Closed. 关闭。 This question is off-topic . 这个问题是题外话 It is not currently accepting answers. 它目前不接受答案。

Want to improve this question?想改善这个问题吗? Update the question so it's on-topic for Stack Overflow.更新问题,使其成为 Stack Overflow的主题

Closed 8 years ago . 8 年前关闭。

I want to remove the password for user root in localhost.我想删除本地主机中用户 root 的密码。 How can I do that?我怎样才能做到这一点? By mistake I have set the password of root user.我错误地设置了root用户的密码。 That's why phpmyadmin is giving an error:这就是 phpmyadmin 给出错误的原因:

#1045 - Access denied for user 'root'@'localhost' (using password: NO)


解决方案:

参考一: https://en.stackoom.com/question/Cim6
参考二: https://stackoom.com/question/Cim6
展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部