MySQL Reset Root Password

Sometimes people need to reset their root mysql password for whatever reason. The following shows you the steps you need to take to reset your root password. Firstly shutdown your mysqld process: Secondly create a sql script: Then add the following code to the new sql file: Thirdly start mysql …