The MySQL default configuration is not very great for production use. Some of the default values in my.cnf should be changed when you need it for business critical applications.
The following MySQL configuration file is in our opinion a good average configuration file for MySQL, Percona Server and MariaDB. For MySQL servers more performance tuning is not need in most cases.