How can I make MySQL auto increment in 4 digit format?
So instead of \'1\' make \'0001\'?
Try adding ZEROFILL attribute to the field.