service mysql stop mysqld --skip-grant-tables --skip-networking --user=mysql mysql -u root
FLUSH PRIVILEGES; SET PASSWORD FOR root@'localhost' = 'new_password_goes_here'; FLUSH_PRIVILEGES;

ceci peut aussi aider sudo mkdir /var/run/mysqld sudo chown mysql:mysql /var/run/mysqld