mysql needs a max length for mids