Is there a way to set primary key auto increment, type of varchar in mySql?
AutoIncrement fields are integer in mysql.
You can mirror the auto-increment field in a varchar field and create a trigger which updates the varchar field on insert/update.
Create Trigger