???????my.cnf??????????/etc/my.cnf??????[mysqld]??????????? skip-grant-tables(???mysql????????????)?????????mysql????????/etc/init.d/mysqld restart??
???????????????mysql????????mysql?????У???????mysql??user???
????use mysql;
????update user set password=password('your new password') where user='root';
????flush privileges; ?????mysql????????????
??????????mysql???????????????????????