1ALTER USER 'user-name'@'localhost' IDENTIFIED BY 'NEW_USER_PASSWORD';FLUSH PRIVILEGES;
1SET PASSWORD FOR 'user-name'@'localhost' = PASSWORD('NEW_USER_PASSWORD');FLUSH PRIVILEGES;
1-- In case the UPDATE command returns "Column 'Password' is not updatable" run
2ALTER USER 'root'@'localhost' IDENTIFIED BY 'newPassword';
3flush privileges;
1UPDATE mysql.user SET authentication_string=PASSWORD("rootpass") WHERE User='root';