mysql> update mysql.user SET Password = OLD_PASSWORD('newpwd') -> where Host = 'some_host' AND User = 'some_user'; mysql> FLUSH PRIVILEGES;