mysql reset root password

Stop your mysqld sudo service mysqld stop Start mysql without grants mysqld_safe –skip-grant-tables Login into mysql mysql –user=root mysql Change mysql root password update user set Password=PASSWORD(‘my-new-password’) where user=’root’; flush privileges; exit; Restart mysql server ps -aux|grep mysql #now use kill -9 to kill mysql Launch your mysql server service mysqld start