Support direct mysql imports flexibly.