Hello Venkat,

Hope you are doing well.

IN EDUREKA VM:

sudo service mysqld restart

mysql -u root -p    (NOTE: it's a small p)

If you are  prompted to enter password after using mysql -u root -p ,then just hit enter.Please refer below screen-shot.