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