'You can check out any time you like, But you can never leave!'
How to MariaDB config file
/etc/mysql/my.cnf Try /etc/mysql/mariadb.conf.d/50-server.cnf
/etc/mysql/my.cnf
Try
/etc/mysql/mariadb.conf.d/50-server.cnf