You can flush the root user's priviliges in mysql cli. > ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; > FLUSH PRIVILEGES;