falls back to 'mysql' field if 'client' is undefined