Create a gist now

Instantly share code, notes, and snippets.

UPDATE `user`
SET `password` = MD5(CONCAT(MD5('new pass'), `salt`))
WHERE `userid` = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment