Please follow the below steps.
sudo service mysql stopsudo mysqld_safe --skip-grant-tablessudo service mysql startsudo mysql -u rootuse mysql;show tables;describe user;update user set authentication_string=password('1111') where user='root';
login with password 1111