fix database config for tests with mysql