refine mysql backend configuration