首页 > 数据库 > MySQL > MySQL2059错误
alter user root@localhost identified by '123456' password expire never;
alter user root@localhost identified with mysql_native_password by '123456';
flush privileges;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30046312/viewspace-2636851/ ,如需转载,请注明出处,否则将追究法律责任。