mysql忘记root密码解决方法

mysql登录时,忘记root密码了怎么办?

在配置文件中的[mysqld]中加入skip-grant-tables,然后重启mysql,这个时候mysql会跳过授权表,直接启动。

posted @ 2013-09-09 11:29  gxcherie  阅读(277)  评论(0编辑  收藏  举报