remove mysql middleware