Mysql_safe --skip-grant-tables --skip-networking
--skip-grant-tables 在连接层关闭验证模块,所有验证表不加载内存
--skip-networking 关闭tcp/ip协议,跳过网络
Mysql 登陆修改密码
Flush privileges 手动加载授权表
Alter user root@’localhost’ identified by ‘123’;
Mysql_safe --skip-grant-tables --skip-networking
--skip-grant-tables 在连接层关闭验证模块,所有验证表不加载内存
--skip-networking 关闭tcp/ip协议,跳过网络
Mysql 登陆修改密码
Flush privileges 手动加载授权表
Alter user root@’localhost’ identified by ‘123’;
本文标题:数据库忘记管理员密码
本文链接:https://www.haomeiwen.com/subject/cbsyoqtx.html
网友评论