mysql backend skeleton