COOK-2681 correctly set slow query log parameters for MySQL >= 5.5