MySQL忘记密码的正确解决方法
来源:互联网 发布:软件测试项目实例 编辑:程序博客网 时间:2024/06/03 23:49
windows
1:停止MySQL的服务。
2:跳过权限检查启动MySQL,
c:\mysql\bin>mysqld-nt ––skip-grant-tables
或则:c:\mysql\bin>mysqld ––skip-grant-tables
mysqld.exe是微软Windows MySQL server数据库服务器相关程序。mysqld-nt.exe是MySQL Daemon数据库服务相关程序。
3:重新打开一个窗口
进入c:\mysql\bin目录,设置root的新密码
c:\mysql\bin>mysqladmin -u root flush-privileges password "newpassword"
Linux
1:service mysqld stop;
2 :mysqld_safe –skip-grant-tables &
3:mysql -u root -p
4: update user set Password=password('newpassword') where User='root';
0 0
- MySQL忘记密码的正确解决方法
- MySQL忘记密码的正确解决方法
- MySQL忘记密码的正确解决方法
- mysql忘记密码的解决方法
- mysql忘记密码的解决方法
- mysql密码忘记的解决方法
- mysql密码忘记的解决方法
- MySQL忘记密码的解决方法
- 忘记mysql密码的解决方法
- 忘记Mysql密码的解决方法
- MySQL 忘记密码的解决方法
- MySql忘记密码的解决方法
- mysql忘记密码的解决方法
- mysql忘记密码的解决方法
- MySQL忘记密码解决方法
- 忘记mysql密码解决方法
- MySQL忘记密码解决方法
- mysql 忘记密码解决方法
- NSTimer的使用
- Maven 安装步骤
- poj 2531 Network Saboteur
- 杂谈:996有点可笑
- Hololens入门之手势识别(使用Manipulation gesture控制物体平移)
- MySQL忘记密码的正确解决方法
- C++ Primer读书笔记——第3章-字符串、向量和数组(上)
- 解决mac vim cscope快捷键映射无效问题
- 前端复习--css position属性
- Spark RDD特征与宽窄依赖
- poj 2104 K-th Number
- mac 上安装brew,permission denied(已解决)
- C++Primer练习与答案——3.1节
- UML统一建模语言