首页 » 默认不分类 » Mysql root 密码忘记怎么办

Mysql root 密码忘记怎么办

先停止mysql,接着在cmd下执行以下命令,跳过检查
mysqld-nt –skip-grant-tables
将窗口最小化,重新开一个cmd窗口执行
mysqladmin -u root flush-privileges password “a123456″
再执行
mysqladmin -u root -p shutdown

转发到新浪微博 转发到新浪微博

目前这篇文章有1条评论(Rss)

  1. Android Games | #1
    05/17/2012 at 08:35

    Great post at Mysql root 密码忘记怎么办 | 虚拟主机教程. I was checking constantly this blog and I am impressed! Very helpful information specifically the last part :) I care for such info a lot. I was looking for this certain info for a long time. Thank you and best of luck.

我要评论

上一篇:

下一篇: