Si realmente es tu sistema y tienes acceso a la consola podrás recuperarla fácilmente.
En la consola mysql pones, antes de parar mysql:
Código:
mysql> use mysql;
Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A
Database changed
mysql> update user set password=PASSWORD("321") where User='root';
Query OK, 3 rows affected (0.03 sec)
Rows matched: 3 Changed: 3 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
Reinicias el servicio y ya está.
Marcadores