Hello i have a login script and a register script but im storing the users password has a plain word. Is there any way to md5 all the result in my user table ? I have a user table with 1200 results and i want to update all results and md5 all the password columns. Last time i tried i updated them all to md5 but everyone had the same password has each other.
Would
UPDATE `newtoxic`.`users` SET `password` = MD5; work ?
I know
UPDATE `newtoxic`.`users` SET `password` = MD5( 'therepasswordgoeshere' );
Works but i can;t go though each and everyone of them updating 1 by 1 …
You can do:
(Make sure your password column is large enough to hold the whole thing).