fix mysql connector and add spec config