modifier le mot de passe natif de l'utilisateur mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '<password>';
Joyous Jackal
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '<password>';