MySQL-8.0.21数据库密码忘了如何解决?
2021-03-09转载:
https://www.cnblogs.com/pangwl/p/13685598.html
核心在于使用
mysqld --console --skip-grant-tables --shared-memory
来跳过密码登入mysql,这句和其他版本稍有不同
记得要flush privileges;
2021-03-09转载:
https://www.cnblogs.com/pangwl/p/13685598.html
核心在于使用
mysqld --console --skip-grant-tables --shared-memory
来跳过密码登入mysql,这句和其他版本稍有不同
记得要flush privileges;