use MysqL;
update user set authentication_string=PASSWORD("") where User='root';
update user set plugin="MysqL_native_password" where User='root'; # THIS LINE
flush privileges;
quit;
这使我能够成功登录!
MySQL失败:mysql“错误1524(HY000):未加载插件'auth_socket'”
use MysqL;
update user set authentication_string=PASSWORD("") where User='root';
update user set plugin="MysqL_native_password" where User='root'; # THIS LINE
flush privileges;
quit;
这使我能够成功登录!