MySQL忘记root密码解决办法


忘记密码,修改密码策略     alter user 'root'@'localhost' identified by '123456' ; (修改root密码)   4) 修改配置文件,把免密登陆策略删掉。重启mysql服务

相关