RROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

alter user 'root'@'localhost' identified by 'root';



 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'IDENTIFIED BY 'wzh999' WITH GRANT OPTION;