1: SET PASSWORD = PASSWORD(‘your new password‘);
2: ALTER USER ‘root‘@‘localhost‘ PASSWORD EXPIRE NEVER;
3: flush privileges;
完成以上三步退出再登,使用新设置的密码就行了
1: SET PASSWORD = PASSWORD(‘your new password‘);
2: ALTER USER ‘root‘@‘localhost‘ PASSWORD EXPIRE NEVER;
3: flush privileges;
完成以上三步退出再登,使用新设置的密码就行了
本文标题:mysql为什么you must reset your pass
本文链接:https://www.haomeiwen.com/subject/bgkdsxtx.html
网友评论