configure mysql in test