Login ke mysql:

mysql –u root –p

run:

use mysql;

Hit ENTER

update user set password=PASSWORD(‘masukkanpasswordbaru’) where user=’username’;

Hit ENTER

flush privileges;

Hit ENTER

quit;

Done