The official MySQL server returns version string like this:
While (latest stable) MariaDB:
Some old and crappy CMS installations break with the MariaDB string above, like Joomla til API17:
MariaDB is told to be a drop-in replacement for MySQL. In this case it is unfortunately not true. Patching the already installed webapps is usually not an option for administrators.
For this reason I recommend to add a new configuration option, something like this into mysqld section of the config file:
With this option set, MariaDB could return the faked version string.