1,ERROR 1820 (HY000): You must reset your password using ALTER USER statement before
解决:alter user 'root'@'localhost' identified by '123456';
2,ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
解决:
set global validate_password_policy=0;
set global validate_password_length=1;
alter user 'root'@'localhost' identified by '123456';