Posted By

stancell on 04/21/08


Tagged

mysql password random String


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

mgerdt
Beppoi


MySQL random password string


 / Published in: SQL
 

  1. SELECT CONV(FLOOR(RAND() * 99999999999999), 10, 36);

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: JakeSully on June 14, 2011

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.