mysql - How do I get an alphanumeric / alphaid (base 62) youtube-like id string from an integer column in SQL? -


how convert id int column in mysql base 62 alphanumeric string?

basically need mysql implementation of following:

http://kvz.io/blog/2009/06/10/create-short-ids-with-php-like-youtube-or-tinyurl/

it better generate id using uuid or use auto increment store in mysql encode decode while using front end. can use library generate non sequential unique id's numbers.

http://hashids.org


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -