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.
Download the sample MySQL and MariaDB configuration file directly from here. Or:
$ wget https://www.fromdual.com/sites/default/files/my.cnf
or
$ curl --output my.cnf https://www.fromdual.com/sites/default/files/my.cnf
The following MySQL configuration file is in our opinion a good average configuration file for …