Config mysql and add correct adapter