Stop the MySQL server without applying the grant table authentication.
Restart localhost.
Restart the server by skipping the grant table options.
Set your user account password for the MySQL database host using the UPDATE command statement.