Fix mysql tests.