<p> In some cases, when MariaDB is installed on Ubuntu and, in particular, on virtual machines, the MariaDB server does not recognize the configuration file my.cnf, which is included in the path by default:<br> <code>/etc/mysql/my.cnf</code> </p> <p> If this is the case the file that you have to edit is the "50-server.cnf" that is in the path:<br> <code>/etc/mysql/mariadb.conf.d/50-server.cnf</code> </p><span class="uk-label uk-label-warning">maria db</span> <span class="uk-label uk-label-warning">mariadb</span> <span class="uk-label uk-label-warning">Ubuntu</span>