Fix deprecation warning in template for my.cnf