ALTER USER 'root'@'localhost' IDENTIFIED BY 'newPassword'; not working code example
Example: alter user root mysql
ALTER USER 'root'@'localhost' IDENTIFIED BY 'newPassword';
ALTER USER 'root'@'localhost' IDENTIFIED BY 'newPassword';