c:\wamp\bin\mysql\mysql1.5.36\bin> mysql --user=root --pass mysql
Enter password:
mysql> update user set Password=PASSWORD('Your New Password') WHERE User='root';
make a change in config.ini.php
$cfg['Servers'][$i]['password'] = 'newpassword';
Place for advance java beginners...............