There maybe some other setting specific to MariaDB or maybe your configuration file isn't loading. Since MariaDB is a fork of MySQL and labelled as a drop in replacement it's nearly identical and in theory should work. I just have no experience with MariaDB to suggest any further configuration options, but my guess is it's simply a configuration problem more than anything.