killall mysqld /usr/local/mysql/bin/mysqld_safe --skip-grant-tables & use mysql
update user set password=password("new_pass") where user="root";
flush privileges;
相关文章
- 08-08Linux下mysql忘记root密码
- 08-08Linux系统修改Mysql密码
- 08-08重置密码解决MySQL for Linux错误 ERROR 1045 (28000)
- 08-08linux下mysql5.7忘记root密码修改
- 08-08window 下忘记了mysql 密码的解决方法
- 08-08linux平台mysql密码设置
- 08-08linux下mysql忘记密码的解决方案
- 08-08linux下mysql重置密码
- 08-08Linux下修改mysql密码
- 08-08重置密码解决MySQL for Linux错误 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)