msyql>alter user 'root'@'localhost' identified with mysql_native_password by '密码'; mysql>flush privileges;