improved mariadb config