MySQLのrootパスワードを変更するコマンド

mysql> set password for root@localhost=PASSWORD(' 変更後のパスワード ');

すぐに忘れてしまうのでメモ。