Essa consulta resolveu meu problema. ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '[email protected]';