C:\wamp\bin\mysql\mysql5.5.24\bin\mysqladmin -u root password NEWPASSWORD
Manual:
c:\wamp\bin\mysql\mysql5.5.24\bin>mysqladmin --help
-u, --user=name User for login if not current user.
password [new-password] Change old password to new-password in current format
Outra solução: