mysql backend work -- INCOMPLETE