MySQL template file poorly configured

The MySQL template file used for building my.cnf is poorly optimized. While it works, it is configured in a way to severely limit database performance (e.g., "innodb_buffer_pool = 10M") and allow a database to fall over (e.g., "max_connections=2500"). We need to look at replacing it with a version similar to what is generated by a standard install of MySQL and tweaked for higher performance use. A better option would be a more configurable version where we can somewhat customize the various settings based on the expected workload.