reset mysql root password
$ sudo mysql -u root -p mysql> use mysql; mysql> select user,authentication_string, plugin,host from mysql.user; mysql> show variables like 'validate_passwords%'; mysql> sudo mysql_secure_installation; .................................... $ sudo mysql -u root -p mysql > sudo mysql mysql > use mysql; mysql > select user, authentication_string,plugin, host from mysql.user; mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'password123A'; ............................................................................................................................................... ............................................................................................................................................... Link :: https://www.youtube.com/watch?v=ltfvdQYR1hY This video has work once and changed my password . but again it is not working but we can take the reference from ...