The MySQL and MariaDB 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, Galera Cluster, MariaDB and Percona Server. For MySQL servers more performance tuning is not need in most cases.