reset root password of mysql

Reference taken from this blog:Step 1: Stop MySQL Service.sudo service mysql stopStep 2: Kill all running mysqld.sudo killall -9 mysqldStep 3: Starting mysqld in Safe mode.sudo mysqld_safe –skip-grant-tables –skip-networking &Step 4: Start mysql...