Linux : Update mysql root password when lost
Sometimes, on a server used as a dev environment, you might have lost the mysql root user password. This is how you can you can start mysql in safe mode with –skip-grant-table options and reset the root user password.