Update my.cnf.erb

add param to support modifying encoding