How I will make every password in my user table encrypted(md5()) except one particular row using a single query?
I think it is a little bit more update
SET PASSWORD FOR 'existinguser'@'localhost' = PASSWORD('newpass');
or
UPDATE user SET password = PASSWORD('newpass');
Hope this help