about me
Google_search
hot
latest
photos
links
MySQL忘记密码处理方法解决办法
来源:安全中国 作者:不详 日期:2008-07-08 热度:来源:安全中国
MySQL忘记密码处理方法解决办法:
1。停止mysql服务。//打开命令行窗口,停止mysql服务: Net stop mysql
2。启动mysql,一般到mysql的安装路径,找到 mysqld-nt.exe
执行:mysqld-nt --skip-grant-tables 当前窗口将会停止。
3。另外打开一个命令行窗口,进入MYSQL的安装位置下BIN目录,运行mysql
4。输入如下命令:
>use mysql
>update user set password=password("new_password") where user="root";
>flush privileges;
>exit
6。用Ctrl+Alt+Del,找到mysqld-nt的进程杀掉它,在重新启动mysql-nt服务,就可以用新密码登录了
↑ 返回顶部
Tags: SQL 命令 解决办法 方法 IP
广告位招租,广告代号:gg468
↑ 返回顶部
search
advertise




![还你真实的开幕式!震撼美图[转]【连载】](/up_files/image/Article/2008/08/12/57015031.jpg)



