windows忘记mysql的root密码的终极解决办法
来源:互联网 发布:淘宝女主播收入排行榜 编辑:程序博客网 时间:2024/05/18 12:30
网上看到了很多,但是很零散,我这里提供一个一定能解决的办法:
1.以系统管理员身份登陆系统。
2.打开cmd "-net start" 查看MySQL是否启动。启动的话就停止net stop MySQL
3.我的MySQL安装在d:\usr\local\MySQL4\bin下。
4.跳过权限检查启动MySQL.
d:\usr\local\MySQL4\bin\MySQLd -nt –skip-grant-tables
5.重新打开cmd。进到d:\usr\local\MySQL4\bin下:
d:\usr\local\MySQL4\bin\MySQLadmin -uroot flush-privileges password “newpassword”(引号里面是你的新密码)
d:\usr\local\MySQL4\bin\MySQLadmin -uroot -p shutdown 这句提示你重新输密码。
6.在cmd里net start MySQL
7.搞定了。
- windows忘记mysql的root密码的终极解决办法
- windows忘记Mysql的Root密码的终极解决办法
- windows服务器下忘记mysql的root密码的解决办法
- windows下忘记mysql超级管理员root密码的解决办法
- windows下忘记mysql超级管理员root密码的解决办法
- windows下忘记mysql超级管理员root密码的解决办法
- windows下忘记mysql超级管理员root密码的解决办法
- windows下忘记mysql超级管理员root密码的解决办法
- windows下忘记mysql超级管理员root密码的解决办法
- windows下mysql忘记root密码的解决办法 201
- windows下mysql忘记root密码的解决办法
- windows环境中mysql忘记root密码的解决办法
- windows环境中mysql忘记root密码的解决办法
- windows下mysql忘记root密码的解决办法
- windows环境中mysql忘记root密码的解决办法
- windows下忘记mysql超级管理员root密码的解决办法
- windows下mysql忘记root密码的解决办法
- windows下mysql忘记root密码的解决办法
- HDU1429胜利大逃亡续(状态压缩+BFS)
- OCP-1Z0-053-V12.02-505题
- Eclipse和MyEclipse的比较浅析
- 没有上司的舞会--经典树形DP
- 微信/易信公共平台开发(三):记录用户状态,优化程序结构
- windows忘记mysql的root密码的终极解决办法
- c#调用excel中的vba宏
- Android中的读写方式之IO读写
- OCP-1Z0-053-V12.02-593题
- 书籍推荐!
- C++成员函数 this指针 调用约定
- Clouda激起WebApp波澜,大戏刚刚上演
- ggplot系列2-更多画图细节——坐标轴和图例
- (原创)数位DP专题小结--by sgx