move mysql support into separate plugin