Resetting the root Password
From Hashmysql
You'll need to restart the MySQL server using the --skip-grant-tables option and then set a new password.
See http://dev.mysql.com/doc/mysql/en/resetting-permissions.html for details.