advanced code snippet search
stancell on 04/21/08
mysql password random String
2 people have marked this snippet as a favorite
SELECT CONV(FLOOR(RAND() * 99999999999999), 10, 36);
Report this snippet
This will create passwords from A-Z 0-9. Special characters are not randomly created. A better implementation is here: http://mysql-0v34c10ck.blogspot.com/2011/06/truly-random-and-complex-password.html
You need to login to post a comment.