check the start up of mysql before importing, ref #24